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

Fixed bug when deleting an account ( issue #101 )

parent 666fdf0f
No related branches found
No related tags found
No related merge requests found
......@@ -206,7 +206,10 @@ class MainWindow(QMainWindow, Ui_MainWindow):
dialog = ProcessConfigureAccount(self.app, self.app.current_account)
result = dialog.exec_()
if result == QDialog.Accepted:
if self.app.current_account:
self.action_change_account(self.app.current_account.name)
else:
self.refresh()
def open_about_popup(self):
"""
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment