Browse Source

qt: maybe batch do_update_fee() on network fee update

regtest_lnd
SomberNight 6 years ago
parent
commit
19ced234aa
No known key found for this signature in database GPG Key ID: B33B5F232C6271E9
  1. 4
      electrum/gui/qt/main_window.py

4
electrum/gui/qt/main_window.py

@ -384,11 +384,11 @@ class ElectrumWindow(QMainWindow, MessageBoxMixin, PrintError):
elif event == 'fee':
if self.config.is_dynfee():
self.fee_slider.update()
self.do_update_fee()
self.require_fee_update = True
elif event == 'fee_histogram':
if self.config.is_dynfee():
self.fee_slider.update()
self.do_update_fee()
self.require_fee_update = True
self.history_model.on_fee_histogram()
else:
self.print_error("unexpected network_qt signal:", event, args)

Loading…
Cancel
Save