Commit 056e27f6 authored by Dan Pascu's avatar Dan Pascu

Close the google authorization dialog when disabling google contacts

parent bc995f44
...@@ -301,6 +301,7 @@ class MainWindow(base_class, ui_class): ...@@ -301,6 +301,7 @@ class MainWindow(base_class, ui_class):
if settings.google_contacts.authorization_token is not None: if settings.google_contacts.authorization_token is not None:
settings.google_contacts.authorization_token = None settings.google_contacts.authorization_token = None
settings.save() settings.save()
self.google_contacts_dialog.hide()
else: else:
self.google_contacts_dialog.open() self.google_contacts_dialog.open()
......
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