From fe7853a3896b9bbe021085264f0f0fdfa9fd07f7 Mon Sep 17 00:00:00 2001 From: Zach H Date: Sat, 2 Aug 2025 16:43:24 -0400 Subject: [PATCH] Fix a crash case for aIncrementAllCardCounters access (#6063) --- cockatrice/src/game/player/player.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cockatrice/src/game/player/player.cpp b/cockatrice/src/game/player/player.cpp index 1034b5651..ecc2fa94f 100644 --- a/cockatrice/src/game/player/player.cpp +++ b/cockatrice/src/game/player/player.cpp @@ -851,6 +851,7 @@ void Player::retranslateUi() aViewZone->setText(tr("View custom zone '%1'").arg(aViewZone->data().toString())); } + aIncrementAllCardCounters->setText(tr("Increment all card counters")); aUntapAll->setText(tr("&Untap all permanents")); aRollDie->setText(tr("R&oll die...")); aCreateToken->setText(tr("&Create token...")); @@ -918,7 +919,6 @@ void Player::retranslateUi() aSetCounter[i]->setText(tr("&Set counters (%1)...").arg(cardCounterSettings.displayName(i))); } - aIncrementAllCardCounters->setText(tr("Increment all card counters")); aMoveToTopLibrary->setText(tr("&Top of library in random order")); aMoveToXfromTopOfLibrary->setText(tr("X cards from the top of library...")); aMoveToBottomLibrary->setText(tr("&Bottom of library in random order"));