Gui: Add ability to easily lock Toolbars from UI
This adds the Std_ToggleToolBarLock action mentioned in #4992. It is exposed in the context menu of toolbar and also in the view -> toolbars app menu.
This commit is contained in:
@@ -1387,6 +1387,10 @@ void MainWindow::onToolBarMenuAboutToShow()
|
||||
menu->addAction(action);
|
||||
}
|
||||
}
|
||||
|
||||
menu->addSeparator();
|
||||
|
||||
Application::Instance->commandManager().getCommandByName("Std_ToggleToolBarLock")->addTo(menu);
|
||||
}
|
||||
|
||||
void MainWindow::onDockWindowMenuAboutToShow()
|
||||
|
||||
Reference in New Issue
Block a user