mirror of
https://github.com/fergalmoran/picard.git
synced 2026-02-28 02:23:58 +00:00
Logout when restoring defaults for general page
This commit is contained in:
@@ -174,6 +174,8 @@ class OptionsDialog(PicardDialog):
|
||||
# Restore the config values incase the user doesn't save after restoring defaults
|
||||
for key in old_options:
|
||||
config.setting[key] = old_options[key]
|
||||
if isinstance(page, general.GeneralOptionsPage):
|
||||
page.logout()
|
||||
return
|
||||
|
||||
def confirm_reset(self):
|
||||
|
||||
Reference in New Issue
Block a user