mirror of
https://github.com/LBRYFoundation/LBRY-Vault.git
synced 2025-09-01 09:45:18 +00:00
settings: move block explorer to 'Transactions' tab
This commit is contained in:
parent
e9a1c05d23
commit
d1a70bf1df
1 changed files with 12 additions and 12 deletions
|
@ -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))
|
unit_combo.currentIndexChanged.connect(lambda x: on_unit(x, nz))
|
||||||
gui_widgets.append((unit_label, unit_combo))
|
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()
|
system_cameras = qrscanner._find_system_cameras()
|
||||||
qr_combo = QComboBox()
|
qr_combo = QComboBox()
|
||||||
qr_combo.addItem("Default","default")
|
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)
|
outrounding_cb.stateChanged.connect(on_outrounding)
|
||||||
tx_widgets.append((outrounding_cb, None))
|
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
|
# Fiat Currency
|
||||||
hist_checkbox = QCheckBox()
|
hist_checkbox = QCheckBox()
|
||||||
hist_capgains_checkbox = QCheckBox()
|
hist_capgains_checkbox = QCheckBox()
|
||||||
|
|
Loading…
Add table
Reference in a new issue