Skip to content

Commit

Permalink
fix label hiding condition in tabRewards
Browse files Browse the repository at this point in the history
  • Loading branch information
gpdionisio committed May 12, 2018
1 parent 19a11e4 commit 57233f4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/tabRewards.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ def item(value):
if self.ui.rewardsList.box.collateralRow is not None:
self.ui.rewardsList.box.hideRow(self.ui.rewardsList.box.collateralRow)

if len(self.rewards) > 1:
if len(self.rewards) > 0:
self.ui.rewardsList.box.resizeColumnsToContents()
self.ui.rewardsList.statusLabel.setVisible(False)
self.ui.rewardsList.box.horizontalHeader().setSectionResizeMode(2, QHeaderView.Stretch)
Expand Down

0 comments on commit 57233f4

Please sign in to comment.