commit d1a70bf1dfd4125b0990a75cb7355ece197fb031
parent e9a1c05d230b0bb6f736385cd9a552bd6d239025
Author: ThomasV <thomasv@electrum.org>
Date: Thu, 19 Sep 2019 09:11:46 +0200
settings: move block explorer to 'Transactions' tab
Diffstat:
1 file changed, 12 insertions(+), 12 deletions(-)
diff --git a/electrum/gui/qt/settings_dialog.py b/electrum/gui/qt/settings_dialog.py
@@ -298,18 +298,6 @@ open. For this to work, your computer needs to be online regularly.""")
unit_combo.currentIndexChanged.connect(lambda x: on_unit(x, nz))
gui_widgets.append((unit_label, unit_combo))
- block_explorers = sorted(util.block_explorer_info().keys())
- msg = _('Choose which online block explorer to use for functions that open a web browser')
- block_ex_label = HelpLabel(_('Online Block Explorer') + ':', msg)
- block_ex_combo = QComboBox()
- block_ex_combo.addItems(block_explorers)
- block_ex_combo.setCurrentIndex(block_ex_combo.findText(util.block_explorer(self.config)))
- def on_be(x):
- be_result = block_explorers[block_ex_combo.currentIndex()]
- self.config.set_key('block_explorer', be_result, True)
- block_ex_combo.currentIndexChanged.connect(on_be)
- gui_widgets.append((block_ex_label, block_ex_combo))
-
system_cameras = qrscanner._find_system_cameras()
qr_combo = QComboBox()
qr_combo.addItem("Default","default")
@@ -424,6 +412,18 @@ open. For this to work, your computer needs to be online regularly.""")
outrounding_cb.stateChanged.connect(on_outrounding)
tx_widgets.append((outrounding_cb, None))
+ block_explorers = sorted(util.block_explorer_info().keys())
+ msg = _('Choose which online block explorer to use for functions that open a web browser')
+ block_ex_label = HelpLabel(_('Online Block Explorer') + ':', msg)
+ block_ex_combo = QComboBox()
+ block_ex_combo.addItems(block_explorers)
+ block_ex_combo.setCurrentIndex(block_ex_combo.findText(util.block_explorer(self.config)))
+ def on_be(x):
+ be_result = block_explorers[block_ex_combo.currentIndex()]
+ self.config.set_key('block_explorer', be_result, True)
+ block_ex_combo.currentIndexChanged.connect(on_be)
+ tx_widgets.append((block_ex_label, block_ex_combo))
+
# Fiat Currency
hist_checkbox = QCheckBox()
hist_capgains_checkbox = QCheckBox()