From 596a41d1431f4bacea6770b7cd7b7d77619c7abc Mon Sep 17 00:00:00 2001 From: Michael Gregorius Date: Fri, 25 Sep 2015 16:48:29 +0200 Subject: [PATCH] Disables the context menu of the tool bars (fixes #2379) --- src/gui/editors/Editor.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/gui/editors/Editor.cpp b/src/gui/editors/Editor.cpp index 315463bec..7496f99c3 100644 --- a/src/gui/editors/Editor.cpp +++ b/src/gui/editors/Editor.cpp @@ -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;