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):
if settings.google_contacts.authorization_token is not None:
settings.google_contacts.authorization_token = None
settings.save()
self.google_contacts_dialog.hide()
else:
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