1
0

Refresh all amount edits when units change.

Improved version of prior commit.
This commit is contained in:
Neil Booth
2015-11-09 20:06:36 +09:00
parent 386319b015
commit 7b40b63a3d
2 changed files with 5 additions and 3 deletions

View File

@@ -95,7 +95,7 @@ class BTCAmountEdit(AmountEdit):
def setAmount(self, amount):
if amount is None:
self.setText("")
self.setText(" ") # Space forces repaint in case units changed
else:
self.setText(format_satoshis_plain(amount, self.decimal_point()))