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:
Kacper Donat
2023-11-30 22:47:15 +01:00
committed by wwmayer
parent 9e1639783e
commit afd72f3585
5 changed files with 78 additions and 8 deletions

View File

@@ -620,6 +620,7 @@ void StdWorkbench::setupContextMenu(const char* recipient, MenuItem* item) const
void StdWorkbench::createMainWindowPopupMenu(MenuItem* item) const
{
*item << "Std_ToggleToolBarLock";
*item << "Std_DlgCustomize";
}