From 70af040b3f09a4dbb8b74ee08998bdeba5906c35 Mon Sep 17 00:00:00 2001 From: Laurent Monin Date: Wed, 26 Sep 2018 12:56:09 +0200 Subject: [PATCH] Select first item after restore defaults --- picard/ui/options/plugins.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/picard/ui/options/plugins.py b/picard/ui/options/plugins.py index 856e60b7d..d5d9cb024 100644 --- a/picard/ui/options/plugins.py +++ b/picard/ui/options/plugins.py @@ -263,9 +263,9 @@ class PluginsOptionsPage(OptionsPage): def restore_defaults(self): self._user_interaction(False) - self.set_current_item(self.ui.plugins.topLevelItem(0), scroll=True) self._remove_all() super().restore_defaults() + self.set_current_item(self.ui.plugins.topLevelItem(0), scroll=True) def load(self): self._populate()