Disables the context menu of the tool bars (fixes #2379)
This commit is contained in:
@@ -58,6 +58,7 @@ DropToolBar * Editor::addDropToolBar(QWidget * parent, Qt::ToolBarArea whereToAd
|
||||
addToolBar(whereToAdd, toolBar);
|
||||
toolBar->setMovable(false);
|
||||
toolBar->setFloatable(false);
|
||||
toolBar->setContextMenuPolicy(Qt::PreventContextMenu);
|
||||
toolBar->setWindowTitle(windowTitle);
|
||||
|
||||
return toolBar;
|
||||
|
||||
Reference in New Issue
Block a user