mirror of
https://github.com/overte-org/overte.git
synced 2025-04-15 05:07:12 +02:00
Merge pull request #12072 from Triplelexx/21654_assetbrowser_sorting
WL#21654: Make the Asset Browser Sort Case Insensitive
This commit is contained in:
commit
aebd098e6e
1 changed files with 2 additions and 0 deletions
|
@ -31,6 +31,8 @@ AssetMappingsScriptingInterface::AssetMappingsScriptingInterface() {
|
|||
_proxyModel.setSourceModel(&_assetMappingModel);
|
||||
_proxyModel.setSortRole(Qt::DisplayRole);
|
||||
_proxyModel.setDynamicSortFilter(true);
|
||||
_proxyModel.setSortLocaleAware(true);
|
||||
_proxyModel.setFilterCaseSensitivity(Qt::CaseInsensitive);
|
||||
_proxyModel.sort(0);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue