1
0

qml: don't start loadWallet if daemon is busy loading.

This commit is contained in:
Sander van Grieken
2023-04-29 14:13:12 +02:00
parent 1b362f64f2
commit 56165c3790

View File

@@ -59,7 +59,8 @@ Pane {
onClicked: {
if (!Daemon.currentWallet || Daemon.currentWallet.name != model.name)
Daemon.loadWallet(model.path)
if (!Daemon.loading) // wallet load in progress
Daemon.loadWallet(model.path)
else
app.stack.pop()
}