forked from 1b-agent/opencadstudio-upstream
WIP count feature
This commit is contained in:
1 parent
b8def31145
commit
e29b408bda
26 files changed
+1887
-44
No files matched your search
@@ -722,6 +722,12 @@ fn idle_rows(
|
||||
t!("Quick Select...").into_owned(),
|
||||
MenuAction::QuickSelect,
|
||||
)));
|
||||
// Count the selected objects, or start a count.
|
||||
rows.push(MenuRow::Item(if has_selection {
|
||||
cmd(t!("Count Selection").into_owned(), "COUNT _C")
|
||||
} else {
|
||||
cmd(t!("Count menu").into_owned(), "COUNT")
|
||||
}));
|
||||
rows.push(MenuRow::Separator);
|
||||
|
||||
// ── Panels ─────────────────────────────────────────────────────────
|
||||
|
||||
Reference in new issue
Block a user