1
0

show list of requests in receive tab

This commit is contained in:
ThomasV
2014-06-14 18:02:45 +02:00
parent f1cf89de9f
commit af08e704d9
2 changed files with 89 additions and 20 deletions

View File

@@ -70,6 +70,10 @@ class BTCAmountEdit(AmountEdit):
return int( p * x )
def setAmount(self, amount):
if amount is None:
self.setText("")
return
p = pow(10, self.decimal_point())
x = amount / Decimal(p)
self.setText(str(x))