mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-04-27 07:48:01 -07:00
untranslated string comparison fixed (#3164)
This commit is contained in:
parent
e1394bd851
commit
2fcb02cadd
2 changed files with 6 additions and 3 deletions
|
|
@ -106,7 +106,10 @@ QVariant DeckListModel::data(const QModelIndex &index, int role) const
|
|||
case 0:
|
||||
return node->recursiveCount(true);
|
||||
case 1:
|
||||
return node->getVisibleName();
|
||||
if (role == Qt::DisplayRole)
|
||||
return node->getVisibleName();
|
||||
else
|
||||
return node->getName();
|
||||
default:
|
||||
return QVariant();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue