Fixed the send/receive buttons on main window
authoretotheipi <etotheipi@gmail.com>
Sat, 1 Sep 2012 17:32:55 +0000 (13:32 -0400)
committeretotheipi <etotheipi@gmail.com>
Sat, 1 Sep 2012 17:32:55 +0000 (13:32 -0400)
How did that get by me??

ArmoryQt.py

index 511795c..32b290a 100644 (file)
@@ -2127,7 +2127,7 @@ class ArmoryMainWindow(QMainWindow):
          if len(wltSelect)>0:
             row = wltSelect[0].row()
             wltID = str(self.walletsView.model().index(row, WLTVIEWCOLS.ID).data().toString())
-         dlg = DlgWalletSelect(self, self, 'Send from Wallet...', wltIDList=wltID, onlyMyWallets=False)
+         dlg = DlgWalletSelect(self, self, 'Send from Wallet...', firstSelect=wltID, onlyMyWallets=False)
          if dlg.exec_():
             wltID = dlg.selectedID 
          else:
@@ -2237,7 +2237,7 @@ class ArmoryMainWindow(QMainWindow):
          if len(wltSelect)>0:
             row = wltSelect[0].row()
             wltID = str(self.walletsView.model().index(row, WLTVIEWCOLS.ID).data().toString())
-         dlg = DlgWalletSelect(self, self, 'Receive coins with wallet...', '', wltIDList=wltID, onlyMyWallets=False)
+         dlg = DlgWalletSelect(self, self, 'Receive coins with wallet...', '', firstSelect=wltID, onlyMyWallets=False)
          if dlg.exec_():
             wltID = dlg.selectedID 
          else: