mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-08-02 08:57:53 -07:00
Fix linked cardwidget not showing PT/Loyalty
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user