tuse wallet basename in window title - electrum - Electrum Bitcoin wallet
HTML git clone https://git.parazyd.org/electrum
DIR Log
DIR Files
DIR Refs
DIR Submodules
---
DIR commit 10ef0fbdf0076de6c3ecd64e97081527a31e1f32
DIR parent 586f592af1207b48fd0c7e66d0d26e381b81cb3d
HTML Author: ThomasV <thomasv@gitorious>
Date: Tue, 11 Nov 2014 16:16:51 +0100
use wallet basename in window title
Diffstat:
M gui/qt/main_window.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
DIR diff --git a/gui/qt/main_window.py b/gui/qt/main_window.py
t@@ -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()