Commit 8c072295 authored by Zach's avatar Zach
Browse files

Merge pull request #1386 from Fizztastic/fix_1383

Fix linked cardwidget not showing PT/Loyalty
parents 487cbb23 f3c43cb5
...@@ -99,14 +99,12 @@ void CardInfoWidget::minimizeClicked(int newMinimized) ...@@ -99,14 +99,12 @@ void CardInfoWidget::minimizeClicked(int newMinimized)
bool CardInfoWidget::shouldShowPowTough() bool CardInfoWidget::shouldShowPowTough()
{ {
// return (!info->getPowTough().isEmpty() && (minimized != 0)); return !info->getPowTough().isEmpty();
return (minimized != 0);
} }
bool CardInfoWidget::shouldShowLoyalty() bool CardInfoWidget::shouldShowLoyalty()
{ {
// return ((info->getLoyalty() > 0) && (minimized != 0)); return (info->getLoyalty() > 0);
return (minimized != 0);
} }
void CardInfoWidget::setMinimized(int _minimized) void CardInfoWidget::setMinimized(int _minimized)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment