1
0

kivy: define app.wallet_name

This commit is contained in:
ThomasV
2016-06-15 11:54:09 +02:00
parent 0ccc812f86
commit 9cc76bc969
3 changed files with 5 additions and 4 deletions

View File

@@ -213,6 +213,8 @@ class ElectrumWindow(App):
self._settings_dialog = None
self._password_dialog = None
def wallet_name(self):
return os.path.basename(self.wallet.storage.path) if self.wallet else ' '
def on_pr(self, pr):
if pr.verify(self.contacts):