From 1f1fba31b2a497d2e55a1159e2c0564078ed0bcf Mon Sep 17 00:00:00 2001 From: Hakan Seven Date: Sun, 27 Sep 2026 06:47:21 +0300 Subject: [PATCH] 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 --- src/app/commands/mod.rs | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/app/commands/mod.rs b/src/app/commands/mod.rs index 9a84e5fdd..eb9a7a4b1 100644 --- a/src/app/commands/mod.rs +++ b/src/app/commands/mod.rs @@ -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