commit 0c261d87bcf5978c7572782de19524c69feefac0
parent aeda762ca9107c7a94b253efe3f44f6fd19f712e
Author: Carlosokumu <carlosokumu254@gmail.com>
Date: Tue, 17 Mar 2026 22:57:51 +0300
set wallet path on successful import
Diffstat:
1 file changed, 2 insertions(+), 0 deletions(-)
diff --git a/dummy/usawa/gui/components/wallet_setup.py b/dummy/usawa/gui/components/wallet_setup.py
@@ -5,6 +5,7 @@ import threading
import logging
import threading
+from usawa.core.state_manager import StateManager
from usawa.core.usawa_wallet import UsawaWallet
@@ -146,6 +147,7 @@ class ImportWalletDialog(Adw.Dialog):
toast.set_timeout(3)
self.parent.toast_overlay.add_toast(toast)
self.close()
+ StateManager.set("wallet_path", self.privatekey_path)
self.parent._init_with_wallet(wallet)
def _on_error(self):