diff options
author | Kali Kaneko <kali@leap.se> | 2013-09-16 17:17:17 -0400 |
---|---|---|
committer | Kali Kaneko <kali@leap.se> | 2013-09-16 17:17:17 -0400 |
commit | e475daff20a2278ad170cb1ebaf528e7ee4a1657 (patch) | |
tree | dfb39172819ea7b711152cc1bff5a02efd5de5c7 /src/leap/bitmask | |
parent | 2f4b4b32884319550af79526bd73ab2afa07b670 (diff) | |
parent | 91f01388246d05001f241c7c5def095557e835d1 (diff) |
Merge remote-tracking branch 'ivan-github/bug/3821_inconsistent-hide-show' into develop
Diffstat (limited to 'src/leap/bitmask')
-rw-r--r-- | src/leap/bitmask/gui/mainwindow.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/leap/bitmask/gui/mainwindow.py b/src/leap/bitmask/gui/mainwindow.py index 2942d4c8..98cfacb1 100644 --- a/src/leap/bitmask/gui/mainwindow.py +++ b/src/leap/bitmask/gui/mainwindow.py @@ -696,7 +696,9 @@ class MainWindow(QtGui.QMainWindow): qApp.setQuitOnLastWindowClosed(False) self.hide() - self._update_hideshow_menu() + # Wait a bit until the window visibility has changed so + # the menu is set with the correct value. + QtCore.QTimer.singleShot(500, self._update_hideshow_menu) def _center_window(self): """ |