fix(ui): refine command line and clipboard
- preserve command history colors after reopening - remove collapsed command bar residue and split the unsaved prompt - read system text when the drawing clipboard is empty Refs #467 Refs #468 Refs #470
This commit is contained in:
parent
d1f9055901
commit
9cf0c9f945
14 changed files with 245 additions and 40 deletions
|
|
@ -193,7 +193,7 @@ impl OpenCADStudio {
|
|||
|
||||
"PASTECLIP" => {
|
||||
if self.clipboard.is_empty() {
|
||||
self.command_line.push_error(crate::t!("Clipboard is empty.").as_ref());
|
||||
return Some(self.read_system_clipboard_for_paste());
|
||||
} else {
|
||||
let wires = self.tabs[i].scene.wires_for_entities(&self.clipboard);
|
||||
let base = self.clipboard_base;
|
||||
|
|
|
|||
Loading…
Reference in a new issue