Sort items in Backup selection dialog
This commit is contained in:
parent
6563f295ae
commit
0f1e7bb352
@ -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))
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user