fix(layer): refresh ribbon and layer panel when entities register novel layers

This commit is contained in:
yztink committed 2026-10-02 23:17:08 -07:00
1 parent 3f54f2f494
commit 9345c7799c
6 files changed
+82 -6

No files matched your search

+1 -1
View File
@@ -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;
}
}