commit 10ef0fbdf0076de6c3ecd64e97081527a31e1f32
parent 586f592af1207b48fd0c7e66d0d26e381b81cb3d
Author: ThomasV <thomasv@gitorious>
Date: Tue, 11 Nov 2014 16:16:51 +0100
use wallet basename in window title
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git 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()