Setting the XECSatsByteEdit._base_unit attribute had no effect in updating the widget's displayed unit. There is a AmountEdit.set_base_unit method for this, use it.
Remove also the pointless instance attribute in XECAmountEdit
Differential D18330
[electrum] fix fee unit in Preferences > Fee > Custom Fee Rate PiRK on Sat, Jul 5, 12:38. Authored by Tags None Subscribers None
Details
Setting the XECSatsByteEdit._base_unit attribute had no effect in updating the widget's displayed unit. There is a AmountEdit.set_base_unit method for this, use it. Remove also the pointless instance attribute in XECAmountEdit start Electrum ABC, go to the preferences menu, fee tab, and check that the correct unit is displayed in the line edit idget (previously it showed "XEC")
Diff Detail
|