qml: don't start loadWallet if daemon is busy loading.
This commit is contained in:
@@ -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()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user