Skip to content

Commit

Permalink
pass explicit int to qt as py310 fix
Browse files Browse the repository at this point in the history
  • Loading branch information
emergent-reasons committed Jan 23, 2022
1 parent 33975a8 commit e424ada
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 e424ada

Please sign in to comment.