mirror of
https://github.com/clementine-player/Clementine
synced 2025-01-28 18:19:42 +01:00
Hopefully fix bug with 0-9 dividers
This commit is contained in:
parent
f8808baa1d
commit
042c37ab40
@ -144,6 +144,9 @@ LibraryItem* Library::CreateArtistNode(bool signal, const QString& name) {
|
||||
if (!name.isEmpty()) {
|
||||
QChar divider_char = ret->sort_text[0];
|
||||
|
||||
if (divider_char.isDigit())
|
||||
divider_char = '0';
|
||||
|
||||
if (!divider_nodes_.contains(divider_char)) {
|
||||
if (signal)
|
||||
beginInsertRows(ItemToIndex(parent), parent->children.count(), parent->children.count());
|
||||
|
Loading…
x
Reference in New Issue
Block a user