commit d0d1b41d636fece05ec0deffcb941a55c963ae21
parent 3fc96b547f86b146557ecfb4ec57937eee3b384b
Author: ThomasV <thomasv@gitorious>
Date: Wed, 27 May 2015 10:25:17 +0200
fix #1251
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/gui/qt/main_window.py b/gui/qt/main_window.py
@@ -35,7 +35,7 @@ from electrum.plugins import run_hook
import icons_rc
-from electrum.util import format_satoshis, format_time, NotEnoughFunds, StoreDict
+from electrum.util import format_satoshis, format_satoshis_plain, format_time, NotEnoughFunds, StoreDict
from electrum import Transaction
from electrum import mnemonic
from electrum import util, bitcoin, commands, Wallet
@@ -1226,7 +1226,7 @@ class ElectrumWindow(QMainWindow):
self.payto_e.setExpired()
self.payto_e.setText(pr.get_requestor())
- self.amount_e.setText(self.format_amount(pr.get_amount()))
+ self.amount_e.setText(format_satoshis_plain(pr.get_amount(), self.decimal_point))
self.message_e.setText(pr.get_memo())
# signal to set fee
self.amount_e.textEdited.emit("")