mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-07-08 17:13:57 -07:00
fix set sorting
This commit is contained in:
parent
2cb16c9fd0
commit
7615e96b54
3 changed files with 22 additions and 20 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue