diff options
author | Andrew Chow <achow101-github@achow101.com> | 2017-08-27 01:08:19 -0400 |
---|---|---|
committer | Andrew Chow <achow101-github@achow101.com> | 2017-08-27 01:08:19 -0400 |
commit | e2548302f40ca73f990583848292965f42ecc576 (patch) | |
tree | 292dcb6b193dfe1636ce40aae3bba9b370fba184 /src/qt | |
parent | 7fd49d01dc2ea444ba4d81d0cfa17486b03c8515 (diff) |
Make tabs toolbar no longer have a context menu
Adds a contextMenuPolicy of Qt::PreventContextMenu to prevent the
tabs toolbar from showing a context menu that allows it to be
hidden.
Diffstat (limited to 'src/qt')
-rw-r--r-- | src/qt/bitcoingui.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/qt/bitcoingui.cpp b/src/qt/bitcoingui.cpp index e3970298e6..be2d21daee 100644 --- a/src/qt/bitcoingui.cpp +++ b/src/qt/bitcoingui.cpp @@ -454,6 +454,7 @@ void BitcoinGUI::createToolBars() if(walletFrame) { QToolBar *toolbar = addToolBar(tr("Tabs toolbar")); + toolbar->setContextMenuPolicy(Qt::PreventContextMenu); toolbar->setMovable(false); toolbar->setToolButtonStyle(Qt::ToolButtonTextBesideIcon); toolbar->addAction(overviewAction); |