commit ab042a0914bea81dd8c66cca091633720c1eab80
parent 3be703ac0a613dd2ebaa51df977dfb5d79681055
Author: ThomasV <thomasv@electrum.org>
Date: Tue, 6 Mar 2018 07:08:38 +0100
fix #4040
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gui/qt/main_window.py b/gui/qt/main_window.py
@@ -2627,7 +2627,7 @@ class ElectrumWindow(QMainWindow, MessageBoxMixin, PrintError):
fee_type_label = HelpLabel(_('Fee estimation') + ':', msg)
fee_type_combo = QComboBox()
fee_type_combo.addItems([_('Static'), _('ETA'), _('Mempool')])
- fee_type_combo.setCurrentIndex(1 if self.config.use_mempool_fees() else 0)
+ fee_type_combo.setCurrentIndex((2 if self.config.use_mempool_fees() else 1) if self.config.is_dynfee() else 0)
def on_fee_type(x):
self.config.set_key('mempool_fees', x==2)
self.config.set_key('dynamic_fees', x>0)