From 0f1e7bb3522c0e740cc6e71ab2153d5b99ad0ce0 Mon Sep 17 00:00:00 2001 From: unman Date: Thu, 5 Jan 2017 02:58:03 +0000 Subject: [PATCH] Sort items in Backup selection dialog --- qubesmanager/backup.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/qubesmanager/backup.py b/qubesmanager/backup.py index 2bfbffa..cec3d30 100644 --- a/qubesmanager/backup.py +++ b/qubesmanager/backup.py @@ -180,6 +180,8 @@ class BackupVMsWindow(Ui_Backup, QWizard): self.total_size += item.size else: self.select_vms_widget.available_list.addItem(item) + self.select_vms_widget.available_list.sortItems() + self.select_vms_widget.selected_list.sortItems() self.check_running() self.total_size_label.setText(qubesutils.size_to_human(self.total_size))