Sort items in the library view under the correct divider when they have no unicode decomposition.
Update issue #672 Can you try this and see if it fixes it for you?
This commit is contained in:
parent
5a616cf40a
commit
ce0e468d75
@ -626,6 +626,7 @@ void LibraryModel::FinishItem(GroupBy type,
|
||||
// Create the divider entry if we're supposed to
|
||||
if (create_divider) {
|
||||
QString divider_key = DividerKey(type, item);
|
||||
item->sort_text.prepend(divider_key);
|
||||
|
||||
if (!divider_key.isEmpty() && !divider_nodes_.contains(divider_key)) {
|
||||
if (signal)
|
||||
|
@ -202,7 +202,6 @@ MainWindow::MainWindow(NetworkAccessManager* network, Engine::Type engine, QWidg
|
||||
library_sort_model_->setSourceModel(library_->model());
|
||||
library_sort_model_->setSortRole(LibraryModel::Role_SortText);
|
||||
library_sort_model_->setDynamicSortFilter(true);
|
||||
library_sort_model_->setSortLocaleAware(true);
|
||||
library_sort_model_->sort(0);
|
||||
|
||||
ui_->playlist->SetManager(playlists_);
|
||||
|
Loading…
x
Reference in New Issue
Block a user