diff options
author | Ivan Alejandro <ivanalejandro0@gmail.com> | 2014-04-22 13:33:37 -0300 |
---|---|---|
committer | Ivan Alejandro <ivanalejandro0@gmail.com> | 2014-04-22 13:33:37 -0300 |
commit | b0dc286e5381d3328f3408b97541818e47865ad5 (patch) | |
tree | 25ae1ed2b89969d2a85623c9cb684c4fb1533a4e /src/leap/bitmask/gui/mainwindow.py | |
parent | eb940b04bd2921974b094150a763ad8b9bbae8ca (diff) |
Use QDialog as base for AKM.
This allows the akm to be treated as a preferences dialog instead of an
extra 'main window'.
Diffstat (limited to 'src/leap/bitmask/gui/mainwindow.py')
-rw-r--r-- | src/leap/bitmask/gui/mainwindow.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/leap/bitmask/gui/mainwindow.py b/src/leap/bitmask/gui/mainwindow.py index b911e5d8..3296bb04 100644 --- a/src/leap/bitmask/gui/mainwindow.py +++ b/src/leap/bitmask/gui/mainwindow.py @@ -566,9 +566,9 @@ class MainWindow(QtGui.QMainWindow): """ domain = self._login_widget.get_selected_provider() logged_user = "{0}@{1}".format(self._logged_user, domain) - self._akm = AdvancedKeyManagement( - logged_user, self._keymanager, self._soledad) - self._akm.show() + akm = AdvancedKeyManagement( + self, logged_user, self._keymanager, self._soledad) + akm.show() @QtCore.Slot() def _show_preferences(self): |