1
0

support mBTC in lite gui

This commit is contained in:
ThomasV
2013-09-28 11:45:39 +02:00
parent 6644fcc22e
commit 13fd5b7e3c
2 changed files with 11 additions and 10 deletions

View File

@@ -938,6 +938,9 @@ class ElectrumWindow(QMainWindow):
def set_url(self, url):
address, amount, label, message, signature, identity, url = util.parse_url(url)
if amount and self.base_unit() == 'mBTC': amount = str( 1000* Decimal(amount))
if self.mini:
self.mini.set_payment_fields(address, amount)
@@ -956,7 +959,6 @@ class ElectrumWindow(QMainWindow):
self.message_e.setText(message)
if amount:
if self.base_unit() == 'mBTC': amount = str( 1000* Decimal(amount))
self.amount_e.setText(amount)
if identity: