Skip to content

Commit

Permalink
[ui] FilterComboBox: better ordering
Browse files Browse the repository at this point in the history
  • Loading branch information
fabiencastan committed Aug 30, 2024
1 parent 702868a commit 24a511e
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions meshroom/ui/qml/Controls/FilterComboBox.qml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,10 @@ ComboBox {
return -1
if (!nameA.startsWith(filterText) && nameB.startsWith(filterText))
return 1
if (nameB > nameA)
return -1
if (nameA > nameB)
return 1
return 0
})
} else {
Expand Down

0 comments on commit 24a511e

Please sign in to comment.