mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-07-28 14:47:11 -07:00
fix set sorting (#6630)
This commit is contained in:
@@ -45,7 +45,7 @@ QVariant SetsModel::data(const QModelIndex &index, int role) const
|
||||
|
||||
switch (index.column()) {
|
||||
case SortKeyCol:
|
||||
return QString("%1").arg(set->getSortKey(), 8, 10, QChar('0'));
|
||||
return QString("%1").arg(index.row(), 8, 10, QChar('0'));
|
||||
case IsKnownCol:
|
||||
return set->getIsKnown();
|
||||
case SetTypeCol:
|
||||
|
||||
Reference in New Issue
Block a user