commit de46bcd515345009c36ef01708dd5be1e847c385 parent fe04ceeed1394b671d4f0b4d4b8d5962dfbcf446 Author: ThomasV <thomasv@gitorious> Date: Thu, 5 Jun 2014 12:46:18 +0200 fix Diffstat:
M | gui/qt/amountedit.py | | | 4 | ++++ |
1 file changed, 4 insertions(+), 0 deletions(-)
diff --git a/gui/qt/amountedit.py b/gui/qt/amountedit.py @@ -58,3 +58,7 @@ class AmountEdit(QLineEdit): s = s[:p] + '.' + s[p:p+8] self.setText(s) self.setCursorPosition(pos) + + + def setAmount(self, amount): + self.setText(self.format_amount(self.wallet.fee).strip())