Browse Source

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

master
Sander van Grieken 2 years ago
parent
commit
b8b5dab68a
  1. 5
      electrum/gui/qml/components/Wallets.qml

5
electrum/gui/qml/components/Wallets.qml

@ -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 {

Loading…
Cancel
Save