1
0

qml: properly return when current wallet is selected from wallets list

This commit is contained in:
Sander van Grieken
2023-09-26 12:48:25 +02:00
parent 5acfe41807
commit b8b5dab68a

View File

@@ -58,11 +58,12 @@ Pane {
height: row.height
onClicked: {
if (!Daemon.currentWallet || Daemon.currentWallet.name != model.name)
if (!Daemon.currentWallet || Daemon.currentWallet.name != model.name) {
if (!Daemon.loading) // wallet load in progress
Daemon.loadWallet(model.path)
else
} else {
app.stack.pop()
}
}
RowLayout {