show list of requests in receive tab
This commit is contained in:
@@ -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))
|
||||
|
||||
Reference in New Issue
Block a user