mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-07-06 05:23:56 -07:00
Fix shuffle bottom confirmation inversion
Took 13 minutes
This commit is contained in:
parent
41b5ceeb18
commit
07c53f39a8
1 changed files with 1 additions and 1 deletions
|
|
@ -97,7 +97,7 @@ void PlayerDialogs::onShuffleBottomDialogRequested(int defaultNumberBottomCards,
|
||||||
int number = QInputDialog::getInt(dialogParent, tr("Shuffle bottom cards of library"),
|
int number = QInputDialog::getInt(dialogParent, tr("Shuffle bottom cards of library"),
|
||||||
tr("Number of cards: (max. %1)").arg(maxCards), defaultNumberBottomCards, 1,
|
tr("Number of cards: (max. %1)").arg(maxCards), defaultNumberBottomCards, 1,
|
||||||
maxCards, 1, &ok);
|
maxCards, 1, &ok);
|
||||||
if (!ok) {
|
if (ok) {
|
||||||
playerActions->actShuffleBottom(number);
|
playerActions->actShuffleBottom(number);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue