mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-09-21 09:05:10 -07:00
[Game] Remove tally requiring two cards selected (#7058)
This commit is contained in:
parent
486b8e8407
commit
a4557454a7
1 changed files with 1 additions and 1 deletions
|
|
@ -256,7 +256,7 @@ void GameView::updateTotalSelectionCount(const QSize &viewSize)
|
||||||
GameScene *gameScene = static_cast<GameScene *>(scene());
|
GameScene *gameScene = static_cast<GameScene *>(scene());
|
||||||
QList<TallyRow> entries = Tally::compute(gameScene->selectedCards(), tallyType);
|
QList<TallyRow> entries = Tally::compute(gameScene->selectedCards(), tallyType);
|
||||||
|
|
||||||
if (entries.isEmpty() || count <= 1) {
|
if (entries.isEmpty()) {
|
||||||
tallyContainer->hide();
|
tallyContainer->hide();
|
||||||
cachedTallyRows.clear();
|
cachedTallyRows.clear();
|
||||||
return;
|
return;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue