forked from 1b-agent/opencadstudio-upstream
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:
1 parent
d1f9055901
commit
9cf0c9f945
14 files changed
+245
-40
No files matched your search
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user