Skip to content

Commit c12eb31

Browse files
committed
qt main_window: add get_password utility function
1 parent 8bb94dd commit c12eb31

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

electrum/gui/qt/main_window.py

+5
Original file line numberDiff line numberDiff line change
@@ -1990,6 +1990,11 @@ def _delete_wallet(self, password):
19901990
else:
19911991
self.show_error(_("Wallet file not found: {}").format(basename))
19921992

1993+
@protected
1994+
def get_password(self, password):
1995+
# may be used by plugins to get password
1996+
return password
1997+
19931998
@protected
19941999
def show_seed_dialog(self, password):
19952000
if not self.wallet.has_seed():

0 commit comments

Comments
 (0)