Skip to content

Commit

Permalink
fix missing order bug
Browse files Browse the repository at this point in the history
  • Loading branch information
gpdionisio committed May 30, 2018
1 parent 8d0f8c8 commit 6416a17
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/mainWindow.py
Original file line number Diff line number Diff line change
Expand Up @@ -286,7 +286,7 @@ def onTabChange(self):
mnOrder[mnName] = i
self.parent.cache['mnList_order'] = mnOrder
# Sort masternode list (by alias if no previous order set)
if self.parent.cache.get('mnList_order') is not {}:
if self.parent.cache.get('mnList_order') != {}:
self.masternode_list.sort(key=self.parent.extract_order)
self.t_rewards.loadMnSelect()
self.t_rewards.selectedRewards = None
Expand Down
2 changes: 1 addition & 1 deletion src/spmtApp.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ def initUI(self, masternode_list, imgDir):
confMenu.addAction(self.rpcConfMenu)

# Sort masternode list (by alias if no previous order set)
if self.cache.get('mnList_order') is not {}:
if self.cache.get('mnList_order') != {}:
masternode_list.sort(key=self.extract_order)
else:
masternode_list.sort(key=self.extract_name)
Expand Down
4 changes: 2 additions & 2 deletions src/version.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"number": "0.2.0",
"number": "0.2.1",
"tag": "a",
"comments": ["SweepAll"]
"comments": ["missing order bug"]
}

0 comments on commit 6416a17

Please sign in to comment.