git://git.novaco.in
/
electrum-nvc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
8fe6f42
)
use returned amount with ! shortcut
author
ThomasV
<thomasv@gitorious>
Mon, 4 Nov 2013 09:16:48 +0000 (10:16 +0100)
committer
ThomasV
<thomasv@gitorious>
Mon, 4 Nov 2013 09:16:48 +0000 (10:16 +0100)
gui/qt/main_window.py
patch
|
blob
|
history
diff --git
a/gui/qt/main_window.py
b/gui/qt/main_window.py
index
dd0a947
..
f1b465a
100644
(file)
--- a/
gui/qt/main_window.py
+++ b/
gui/qt/main_window.py
@@
-793,7
+793,7
@@
class ElectrumWindow(QMainWindow):
c, u = self.wallet.get_account_balance(self.current_account)
inputs, total, fee = self.wallet.choose_tx_inputs_from_account( c + u, 0, self.current_account)
fee = self.wallet.estimated_fee(inputs)
- amount = c + u - fee
+ amount = total - fee
self.amount_e.setText( self.format_amount(amount) )
self.fee_e.setText( self.format_amount( fee ) )
return