Skip to content

Commit

Permalink
[ui] FilterComboBox: better ordering
Browse files Browse the repository at this point in the history
  • Loading branch information
fabiencastan authored and cbentejac committed Sep 3, 2024
1 parent e445d7d commit 5eaec8e
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 5eaec8e

Please sign in to comment.