Fix shuffle bottom confirmation inversion

Took 13 minutes
This commit is contained in:
Lukas Brübach 2026-05-26 23:26:01 +02:00
parent 41b5ceeb18
commit 07c53f39a8

View file

@ -97,7 +97,7 @@ void PlayerDialogs::onShuffleBottomDialogRequested(int defaultNumberBottomCards,
int number = QInputDialog::getInt(dialogParent, tr("Shuffle bottom cards of library"),
tr("Number of cards: (max. %1)").arg(maxCards), defaultNumberBottomCards, 1,
maxCards, 1, &ok);
if (!ok) {
if (ok) {
playerActions->actShuffleBottom(number);
}
}