diff --git a/gui/qt/amountedit.py b/gui/qt/amountedit.py index 42f94e5be..496ce552b 100644 --- a/gui/qt/amountedit.py +++ b/gui/qt/amountedit.py @@ -58,3 +58,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())