1
0

parse payto text

This commit is contained in:
ThomasV
2014-06-04 14:49:55 +02:00
parent b2cd1ce7e6
commit d3f136d609
3 changed files with 77 additions and 4 deletions

View File

@@ -41,3 +41,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())