Skip to content

Commit

Permalink
Governance Tab: fix reload after toggle
Browse files Browse the repository at this point in the history
  • Loading branch information
random-zebra committed Jul 20, 2018
1 parent 99ffc36 commit 971c83d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions src/tabGovernance.py
Original file line number Diff line number Diff line change
Expand Up @@ -153,6 +153,10 @@ def itemButton(value, icon_num):
self.ui.proposalBox.setItem(row, 6, item(my_votes))
self.ui.proposalBox.setCellWidget(row, 7, itemButton(prop, 1))

# hide row if toggleExpiring_btn set
if prop.RemainingPayCount == 0 and self.ui.toggleExpiring_btn.text() == "Show Expiring":
self.ui.proposalBox.hideRow(row)

# Sort by Monthly Price descending
self.ui.proposalBox.setSortingEnabled(True)
self.ui.proposalBox.sortByColumn(3, Qt.DescendingOrder)
Expand Down
2 changes: 1 addition & 1 deletion src/version.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"number": "0.3.1",
"tag": "a",
"tag": "c",
"comments": ["Load masternode.conf"]
}

0 comments on commit 971c83d

Please sign in to comment.