mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-07-10 12:23:58 -07:00
remove deckHashChanged
This commit is contained in:
parent
18a2f68b7f
commit
13b3a6f65c
3 changed files with 3 additions and 2 deletions
|
|
@ -284,6 +284,7 @@ bool DeckListModel::setData(const QModelIndex &index, const QVariant &value, con
|
|||
|
||||
emitRecursiveUpdates(index);
|
||||
deckList->refreshDeckHash();
|
||||
emit deckHashChanged();
|
||||
|
||||
emit dataChanged(index, index);
|
||||
return true;
|
||||
|
|
@ -422,6 +423,7 @@ QModelIndex DeckListModel::addCard(const ExactCard &card, const QString &zoneNam
|
|||
cardNode->setCardCollectorNumber(printingInfo.getProperty("num"));
|
||||
cardNode->setCardProviderId(printingInfo.getProperty("uuid"));
|
||||
deckList->refreshDeckHash();
|
||||
emit deckHashChanged();
|
||||
}
|
||||
sort(lastKnownColumn, lastKnownOrder);
|
||||
emitRecursiveUpdates(parentIndex);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue