Skip to content
Snippets Groups Projects
Commit ee5ba390 authored by inso's avatar inso
Browse files

Fixed a bug when configuring an account and reloading its data

parent de5cff44
No related branches found
No related tags found
No related merge requests found
......@@ -197,10 +197,12 @@ class MainWindow(QMainWindow, Ui_MainWindow):
def open_configure_account_dialog(self):
dialog = ProcessConfigureAccount(self.app, self.app.current_account)
dialog.accepted.connect(self.refresh)
result = dialog.exec_()
if result == QDialog.Accepted:
self.action_change_account(self.app.current_account.name)
account = self.app.current_account
self.app.current_account = None
self.refresh()
self.action_change_account(account.name)
def open_about_popup(self):
"""
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment