summaryrefslogtreecommitdiff
path: root/src/leap/bitmask/gui/mainwindow.py
diff options
context:
space:
mode:
authorTomás Touceda <chiiph@leap.se>2013-08-28 14:35:24 -0300
committerTomás Touceda <chiiph@leap.se>2013-08-28 14:35:24 -0300
commit8a94537a66275950d6b9fb986ca1ae3970fd9232 (patch)
tree3c8ca8df4a2d291cb20e24bbc6d9f5a11c0ab2ab /src/leap/bitmask/gui/mainwindow.py
parent5b6b878289737e72ba7156ec320d2e811358327c (diff)
parenta3d229bd52405146e188905ec1d37c7bfb30320f (diff)
Merge remote-tracking branch 'ivan/feature/preferences-select-services' into develop
Conflicts: src/leap/bitmask/gui/mainwindow.py src/leap/bitmask/gui/preferenceswindow.py
Diffstat (limited to 'src/leap/bitmask/gui/mainwindow.py')
-rw-r--r--src/leap/bitmask/gui/mainwindow.py12
1 files changed, 5 insertions, 7 deletions
diff --git a/src/leap/bitmask/gui/mainwindow.py b/src/leap/bitmask/gui/mainwindow.py
index 25747785..34451928 100644
--- a/src/leap/bitmask/gui/mainwindow.py
+++ b/src/leap/bitmask/gui/mainwindow.py
@@ -288,17 +288,12 @@ class MainWindow(QtGui.QMainWindow):
################################# end Qt Signals connection ########
- # Enable the password change when soledad is ready
- self.soledad_ready.connect(
- partial(self.ui.btnPreferences.setEnabled, True))
-
init_platform()
self._wizard = None
self._wizard_firstrun = False
self._logger_window = None
- self._preferences_window = None
self._bypass_checks = bypass_checks
@@ -419,8 +414,11 @@ class MainWindow(QtGui.QMainWindow):
Displays the preferences window.
"""
- PreferencesWindow(
- self, self._srp_auth, self._soledad, self._settings).show()
+ preferences_window = PreferencesWindow(
+ self, self._srp_auth, self._soledad,
+ self._settings, self._standalone)
+
+ preferences_window.show()
def _uncheck_logger_button(self):
"""