From 19ced234aa75ee23087eebe5a5c5cfb43f167c9d Mon Sep 17 00:00:00 2001 From: SomberNight Date: Thu, 2 May 2019 03:09:47 +0200 Subject: [PATCH] qt: maybe batch do_update_fee() on network fee update --- electrum/gui/qt/main_window.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/electrum/gui/qt/main_window.py b/electrum/gui/qt/main_window.py index f197731a0..7363ad227 100644 --- a/electrum/gui/qt/main_window.py +++ b/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)