Skip to content

Commit

Permalink
Resolve #1140
Browse files Browse the repository at this point in the history
  • Loading branch information
marc-vdm committed Nov 29, 2023
1 parent fe69950 commit 897cc2c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion activity_browser/ui/wizards/db_import_wizard.py
Original file line number Diff line number Diff line change
Expand Up @@ -997,7 +997,8 @@ def initializePage(self):
del self.system_models["universal"]
self.version_combobox.clear()
self.system_model_combobox.clear()
self.version_combobox.addItems(list(self.system_models.keys()))
versions = sorted(self.system_models.keys(), key=lambda x: tuple(map(int, x.split('.'))))
self.version_combobox.addItems(versions[::-1])
if bool(self.version_combobox.count()):
# Adding the items will cause system_model_combobox to update
# and show the correct list, this is just to be sure.
Expand Down

0 comments on commit 897cc2c

Please sign in to comment.