diff options
author | Tomás Touceda <chiiph@leap.se> | 2013-07-12 13:29:44 -0300 |
---|---|---|
committer | Tomás Touceda <chiiph@leap.se> | 2013-07-12 13:29:44 -0300 |
commit | 5c22d5cc2af8693592670b1838a42511bdfeaf3c (patch) | |
tree | 8db3394ee81835cbf81cb860f5f0019da72bf58f /src/leap/gui/mainwindow.py | |
parent | 55f7638041a66cfd94baf49df947e71e50bedd3a (diff) | |
parent | 96b8e05b98ebeb7645f53be6c0116c3212fa6b20 (diff) |
Merge remote-tracking branch 'ivan/bug/3152_logger-window-toggle-fix' into develop
Diffstat (limited to 'src/leap/gui/mainwindow.py')
-rw-r--r-- | src/leap/gui/mainwindow.py | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/leap/gui/mainwindow.py b/src/leap/gui/mainwindow.py index 4874de80..ba546fd0 100644 --- a/src/leap/gui/mainwindow.py +++ b/src/leap/gui/mainwindow.py @@ -369,6 +369,15 @@ class MainWindow(QtGui.QMainWindow): self._logger_window.setVisible(not self._logger_window.isVisible()) self.ui.btnShowLog.setChecked(self._logger_window.isVisible()) + self._logger_window.finished.connect(self._uncheck_logger_button) + + def _uncheck_logger_button(self): + """ + SLOT + Sets the checked state of the loggerwindow button to false. + """ + self.ui.btnShowLog.setChecked(False) + def _new_updates_available(self, req): """ Callback for the new updates event |