Measure: Fix quick measure command

* Clear status bar when switching off quick measure
* Activate quick measure by default
* Remove command from toolbar as there is currently no icon
This commit is contained in:
wwmayer
2025-08-27 16:01:54 +02:00
parent 27d2178008
commit 8512585a41
3 changed files with 6 additions and 3 deletions

View File

@@ -813,7 +813,7 @@ ToolBarItem* StdWorkbench::setupToolBars() const
auto view = new ToolBarItem( root );
view->setCommand("View");
*view << "Std_ViewFitAll" << "Std_ViewFitSelection" << "Std_ViewGroup" << "Std_AlignToSelection"
<< "Separator" << "Std_DrawStyle" << "Std_TreeViewActions" << "Std_Measure" << "Std_QuickMeasure";
<< "Separator" << "Std_DrawStyle" << "Std_TreeViewActions" << "Std_Measure";
// Individual views
auto individualViews = new ToolBarItem(root, ToolBarItem::DefaultVisibility::Hidden);