From 10ef0fbdf0076de6c3ecd64e97081527a31e1f32 Mon Sep 17 00:00:00 2001 From: ThomasV Date: Tue, 11 Nov 2014 16:16:51 +0100 Subject: [PATCH] use wallet basename in window title --- gui/qt/main_window.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gui/qt/main_window.py b/gui/qt/main_window.py index ce35213c0..18b5df3ba 100644 --- a/gui/qt/main_window.py +++ b/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()