always sort the search results alphabetically
This commit is contained in:
@@ -455,10 +455,10 @@ namespace FlaxEditor.Windows
|
|||||||
var item = CreateControlItem(Utilities.Utils.GetPropertyNameUI(controlType.Name), controlType);
|
var item = CreateControlItem(Utilities.Utils.GetPropertyNameUI(controlType.Name), controlType);
|
||||||
SearchFilterHighlights(item, text, ranges);
|
SearchFilterHighlights(item, text, ranges);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (string.IsNullOrEmpty(filterText))
|
// Sort the search results alphabetically
|
||||||
_groupSearch.SortChildren();
|
_groupSearch.SortChildren();
|
||||||
|
|
||||||
_groupSearch.UnlockChildrenRecursive();
|
_groupSearch.UnlockChildrenRecursive();
|
||||||
PerformLayout();
|
PerformLayout();
|
||||||
|
|||||||
Reference in New Issue
Block a user