From 07a41ea9edb4fd6ef402cd010ebb97f7c3b955c5 Mon Sep 17 00:00:00 2001 From: Laurent Monin Date: Mon, 1 Oct 2018 10:56:21 +0200 Subject: [PATCH] Invert Actions sort order so one has only one click to move all installed pugins to the top --- picard/ui/options/plugins.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/picard/ui/options/plugins.py b/picard/ui/options/plugins.py index 2c1b12fe3..7871e3366 100644 --- a/picard/ui/options/plugins.py +++ b/picard/ui/options/plugins.py @@ -531,12 +531,12 @@ class PluginsOptionsPage(OptionsPage): if make_current: self.set_current_item(item) - actions_sort_score = 1 + actions_sort_score = 2 if item.is_installed: if item.is_enabled: - actions_sort_score = 3 + actions_sort_score = 0 else: - actions_sort_score = 2 + actions_sort_score = 1 item.setSortData(COLUMN_ACTIONS, actions_sort_score) item.setSortData(COLUMN_NAME, plugin.name.lower())