From c12eb31d8831adcbc956ad129f2bda99bc957ade Mon Sep 17 00:00:00 2001 From: ThomasV Date: Tue, 22 Apr 2025 09:41:26 +0200 Subject: [PATCH] qt main_window: add get_password utility function --- electrum/gui/qt/main_window.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/electrum/gui/qt/main_window.py b/electrum/gui/qt/main_window.py index 5c9a6ff40..a6f027da4 100644 --- a/electrum/gui/qt/main_window.py +++ b/electrum/gui/qt/main_window.py @@ -1990,6 +1990,11 @@ class ElectrumWindow(QMainWindow, MessageBoxMixin, Logger, QtEventListener): else: self.show_error(_("Wallet file not found: {}").format(basename)) + @protected + def get_password(self, password): + # may be used by plugins to get password + return password + @protected def show_seed_dialog(self, password): if not self.wallet.has_seed():