Skip to content

Commit

Permalink
Merge pull request spesmilo#2394 from emergent-reasons/py310_qt_fusio…
Browse files Browse the repository at this point in the history
…n_fixes

Update(s) to cashfusion qt for py310 removal of coercion
  • Loading branch information
cculianu committed Jan 23, 2022
2 parents 33975a8 + e424ada commit 8822324
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion electroncash_plugins/fusion/qt.py
Original file line number Diff line number Diff line change
Expand Up @@ -1429,7 +1429,7 @@ def refresh(self):
else:
self.conf.selector = None
return self.refresh()
sel_count = COIN_FRACTION_FUDGE_FACTOR / max(sel_fraction, 0.001)
sel_count = round(COIN_FRACTION_FUDGE_FACTOR / max(sel_fraction, 0.001))
self.amt_selector_size.setAmount(round(sel_size))
self.sb_selector_fraction.setValue(max(min(sel_fraction, 1.0), 0.001) * 100.0)
self.sb_selector_count.setValue(sel_count)
Expand Down

0 comments on commit 8822324

Please sign in to comment.