From a584e772bac1d266edfa7fbb1ccf8423cd0c5def Mon Sep 17 00:00:00 2001 From: Hakan Seven Date: Wed, 3 Jun 2026 20:52:11 +0300 Subject: [PATCH] fix(textstyle): open Text Style manager from the ribbon Manage button MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The bare STYLE command (sent by the Annotate-tab text-style combo's "Manage…" button) fell into the LIST arm and only printed the style list instead of opening the manager. Route no-arg STYLE / TEXTSTYLE to the dialog, matching DIMSTYLE / TABLESTYLE / MLEADERSTYLE. Co-Authored-By: Claude Opus 4.8 --- src/app/commands.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/app/commands.rs b/src/app/commands.rs index f53a01a4d..1a93d90e6 100644 --- a/src/app/commands.rs +++ b/src/app/commands.rs @@ -4147,10 +4147,10 @@ impl OpenCADStudio { let parts: Vec<&str> = rest.splitn(3, ' ').collect(); let sub = parts.get(0).map(|s| s.to_uppercase()).unwrap_or_default(); match sub.as_str() { - "DIALOG" | "UI" => { + "" | "DIALOG" | "UI" => { return Task::done(Message::TextStyleDialogOpen); } - "" | "LIST" | "?" => { + "LIST" | "?" => { let styles: Vec = self.tabs[i] .scene .document