place address filters bottom, fix strings

This commit is contained in:
zebra-lucky 2018-04-08 00:51:08 +03:00
parent 2b28066bd6
commit db927cc4bd
2 changed files with 3 additions and 3 deletions

View File

@ -1558,13 +1558,13 @@ class ElectrumWindow(QMainWindow, MessageBoxMixin, PrintError):
w.setLayout(vbox)
vbox.setContentsMargins(0, 0, 0, 0)
vbox.setSpacing(0)
vbox.addWidget(l)
if list_header:
hbox = QHBoxLayout()
for b in list_header:
hbox.addWidget(b)
hbox.addStretch()
vbox.addLayout(hbox)
vbox.addWidget(l)
return w
def create_addresses_tab(self):
@ -2072,7 +2072,7 @@ class ElectrumWindow(QMainWindow, MessageBoxMixin, PrintError):
return
if not data:
return
# if the user scanned a bitcoin URI
# if the user scanned a zcash URI
if str(data).startswith("zcash:"):
self.pay_to_URI(data)
return

View File

@ -263,7 +263,7 @@ class Daemon(DaemonThread):
path = config.get_wallet_path()
wallet = self.wallets.get(path)
if wallet is None:
return {'error': 'Wallet "%s" is not loaded. Use "electrum daemon load_wallet"'%os.path.basename(path) }
return {'error': 'Wallet "%s" is not loaded. Use "electrum-zcash daemon load_wallet"'%os.path.basename(path) }
else:
wallet = None
# arguments passed to function