summaryrefslogtreecommitdiff
path: root/src/leap/bitmask
diff options
context:
space:
mode:
authorTomás Touceda <chiiph@leap.se>2014-03-27 11:28:37 -0300
committerTomás Touceda <chiiph@leap.se>2014-03-27 11:28:37 -0300
commit681ef643a977bc7b7975f10a8aac043dbec53fcf (patch)
treeac11150dccf1893cc78064d23cd086d7a8f0da9e /src/leap/bitmask
parentc51c32f4fa23980442576b3e6caa45fa6ca8099f (diff)
Properly set menubar nativeness after setupUi
Diffstat (limited to 'src/leap/bitmask')
-rw-r--r--src/leap/bitmask/gui/mainwindow.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/leap/bitmask/gui/mainwindow.py b/src/leap/bitmask/gui/mainwindow.py
index e4e71dcc..6d3a05fa 100644
--- a/src/leap/bitmask/gui/mainwindow.py
+++ b/src/leap/bitmask/gui/mainwindow.py
@@ -138,7 +138,6 @@ class MainWindow(QtGui.QMainWindow):
:type bypass_checks: bool
"""
QtGui.QMainWindow.__init__(self)
- self.menuBar().setNativeMenuBar(False)
# register leap events ########################################
register(signal=proto.UPDATER_NEW_UPDATES,
@@ -158,6 +157,7 @@ class MainWindow(QtGui.QMainWindow):
# setup UI
self.ui = Ui_MainWindow()
self.ui.setupUi(self)
+ self.menuBar().setNativeMenuBar(True)
self._backend = backend.Backend(bypass_checks)
self._backend.start()