electrum

Electrum Bitcoin wallet
git clone https://git.parazyd.org/electrum
Log | Files | Refs | Submodules

commit f0ff73f0eb456015c6448fcdfc1f33d6e779af3a
parent 2e0d55e25e5dbea31c77c6e912dfb359f54b3b66
Author: ThomasV <thomasv@electrum.org>
Date:   Thu, 29 Sep 2016 09:40:27 +0200

show wallet type in title bar

Diffstat:
Mgui/qt/main_window.py | 4+++-
1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/gui/qt/main_window.py b/gui/qt/main_window.py @@ -292,9 +292,11 @@ class ElectrumWindow(QMainWindow, MessageBoxMixin, PrintError): def watching_only_changed(self): title = 'Electrum %s - %s' % (self.wallet.electrum_version, self.wallet.basename()) + extra = [self.wallet.storage.get('wallet_type', '?')] if self.wallet.is_watching_only(): self.warn_if_watching_only() - title += ' [%s]' % (_('watching only')) + extra.append(_('watching only')) + title += ' [%s]'% ', '.join(extra) self.setWindowTitle(title) self.password_menu.setEnabled(self.wallet.can_change_password()) self.import_privkey_menu.setVisible(self.wallet.can_import_privkey())