mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-09-28 00:42:19 -07:00
Option to remove commander tax disappear when partner tax in use
This commit is contained in:
parent
1e2c7737d0
commit
4aa430abd0
1 changed files with 1 additions and 1 deletions
|
|
@ -142,7 +142,7 @@ void CommandZoneMenu::updateTaxCounterActionStates()
|
||||||
}
|
}
|
||||||
if (aToggleCommanderTaxCounter) {
|
if (aToggleCommanderTaxCounter) {
|
||||||
aToggleCommanderTaxCounter->setText(cmdTax ? tr("&Remove Commander Tax") : tr("&Add Commander Tax"));
|
aToggleCommanderTaxCounter->setText(cmdTax ? tr("&Remove Commander Tax") : tr("&Add Commander Tax"));
|
||||||
aToggleCommanderTaxCounter->setVisible(!cmdTax || cmdTax->getValue() == 0);
|
aToggleCommanderTaxCounter->setVisible(!cmdTax || (cmdTax->getValue() == 0 && !partnerTax));
|
||||||
}
|
}
|
||||||
|
|
||||||
if (aIncreasePartnerTax) {
|
if (aIncreasePartnerTax) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue