windowmanager: store seed attributes immediately

This commit is contained in:
tobtoht
2024-05-08 18:58:29 +02:00
parent c2701c00dd
commit d375484c2f
+2
View File
@@ -371,6 +371,8 @@ void WindowManager::tryCreateWallet(Seed seed, const QString &path, const QStrin
wallet->setCacheAttribute("feather.seed", seed.mnemonic.join(" "));
wallet->setCacheAttribute("feather.seedoffset", seedOffset);
// Store attributes now, so we don't lose them on crash / forced exit
wallet->store();
if (newWallet) {
wallet->setNewWallet();