forked from 1b-agent/opencadstudio-upstream
fix(layer): refresh ribbon and layer panel when entities register novel layers
This commit is contained in:
1 parent
3f54f2f494
commit
9345c7799c
6 files changed
+82
-6
No files matched your search
@@ -507,7 +507,7 @@ impl OpenCADStudio {
|
||||
self.handle_copy_to_clipboard(handles, base);
|
||||
}
|
||||
CmdResult::CommitAndExit(entity) => {
|
||||
if let Some(task) = self.handle_commit_and_exit(entity) {
|
||||
if let Some(task) = self.handle_commit_and_exit(entity, preserve_commit_layer) {
|
||||
return task;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user