forked from 1b-agent/opencadstudio-upstream
refactor(commands): plugin dispatch ends through finish_dispatch
The branch added by #1498 repeated finish_dispatch's focus and dynamic-input sync; call it instead. Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
1 parent
15ab97c9e2
commit
1f1fba31b2
1 file changed
+1
-4
@@ -201,11 +201,8 @@ impl OpenCADStudio {
|
||||
self.command_line.record_recent(cmd);
|
||||
if self.tabs[i].active_cmd.is_none() {
|
||||
self.ribbon.deactivate_tool();
|
||||
return Task::none();
|
||||
} else {
|
||||
self.sync_dyn_fields();
|
||||
return self.focus_cmd_input();
|
||||
}
|
||||
return self.finish_dispatch(cmd);
|
||||
}
|
||||
|
||||
// Command families are dispatched in source order (see
|
||||
|
||||
Reference in new issue
Block a user