Merge pull request #1386 from Fizztastic/fix_1383

Fix linked cardwidget not showing PT/Loyalty
This commit is contained in:
Zach 2015-08-17 17:14:30 -04:00
commit 8c0722953f

View file

@ -99,14 +99,12 @@ void CardInfoWidget::minimizeClicked(int newMinimized)
bool CardInfoWidget::shouldShowPowTough()
{
// return (!info->getPowTough().isEmpty() && (minimized != 0));
return (minimized != 0);
return !info->getPowTough().isEmpty();
}
bool CardInfoWidget::shouldShowLoyalty()
{
// return ((info->getLoyalty() > 0) && (minimized != 0));
return (minimized != 0);
return (info->getLoyalty() > 0);
}
void CardInfoWidget::setMinimized(int _minimized)