use wallet basename in window title

This commit is contained in:
ThomasV 2014-11-11 16:16:51 +01:00
parent 586f592af1
commit 10ef0fbdf0
1 changed files with 1 additions and 1 deletions

View File

@ -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()