Browse Source

use wallet basename in window title

283
ThomasV 10 years ago
parent
commit
10ef0fbdf0
  1. 2
      gui/qt/main_window.py

2
gui/qt/main_window.py

@ -210,7 +210,7 @@ class ElectrumWindow(QMainWindow):
self.invoices = self.wallet.storage.get('invoices', {})
self.accounts_expanded = self.wallet.storage.get('accounts_expanded',{})
self.current_account = self.wallet.storage.get("current_account", None)
title = 'Electrum ' + self.wallet.electrum_version + ' - ' + self.wallet.storage.path
title = 'Electrum ' + self.wallet.electrum_version + ' - ' + os.path.basename(self.wallet.storage.path)
if self.wallet.is_watching_only(): title += ' [%s]' % (_('watching only'))
self.setWindowTitle( title )
self.update_wallet()

Loading…
Cancel
Save