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:
Hakan SevenandClaude Opus 5.5 committed 2026-09-27 06:47:21 +03:00
1 parent 15ab97c9e2
commit 1f1fba31b2
1 file changed
+1 -4
+1 -4
View File
@@ -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