Commit da449a8a authored by Dan Pascu's avatar Dan Pascu

Raise and activate preferences window when triggered if already visible

parent 1b66b431
...@@ -644,6 +644,8 @@ class PreferencesWindow(base_class, ui_class): ...@@ -644,6 +644,8 @@ class PreferencesWindow(base_class, ui_class):
selection_model.select(model.index(index), selection_model.ClearAndSelect) selection_model.select(model.index(index), selection_model.ClearAndSelect)
self._update_logs_size_label() self._update_logs_size_label()
super(PreferencesWindow, self).show() super(PreferencesWindow, self).show()
self.raise_()
self.activateWindow()
def show_for_accounts(self): def show_for_accounts(self):
self.accounts_action.trigger() self.accounts_action.trigger()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment