fix(textstyle): open Text Style manager from the ribbon Manage button
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 <noreply@anthropic.com>
This commit is contained in:
parent
578b8c5d64
commit
a584e772ba
1 changed files with 2 additions and 2 deletions
|
|
@ -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<String> = self.tabs[i]
|
||||
.scene
|
||||
.document
|
||||
|
|
|
|||
Loading…
Reference in a new issue