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

Saving account cache before reloading it

parent a5ff1e9d
No related branches found
No related tags found
No related merge requests found
......@@ -169,6 +169,10 @@ class MainWindow(QMainWindow, Ui_MainWindow):
logging.debug("Busybar : {:} : {:}".format(value, maximum))
self.busybar.setValue(value)
self.busybar.setMaximum(maximum)
if self.app.current_account:
self.app.save_cache(self.app.current_account)
self.app.current_account = None
self.refresh()
QApplication.setOverrideCursor(Qt.BusyCursor)
......
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