File tree Expand file tree Collapse file tree 2 files changed +9
-2
lines changed
electrum/gui/qml/components Expand file tree Collapse file tree 2 files changed +9
-2
lines changed Original file line number Diff line number Diff line change @@ -15,8 +15,6 @@ Wizard {
1515
1616 property alias path: walletdb .path
1717
18- enter: null // disable transition
19-
2018 // State transition functions. These functions are called when the 'Next'
2119 // button is pressed. Depending on the data create the next page
2220 // in the conversation.
Original file line number Diff line number Diff line change @@ -221,6 +221,15 @@ ApplicationWindow
221221 app .visible = false
222222 Qt .callLater (Qt .quit )
223223 })
224+ dialog .accepted .connect (function () {
225+ var newww = app .newWalletWizard .createObject (app)
226+ newww .open ()
227+ newww .walletCreated .connect (function () {
228+ Daemon .availableWallets .reload ()
229+ // and load the new wallet
230+ Daemon .load_wallet (newww .path , newww .wizard_data [' password' ])
231+ })
232+ })
224233 dialog .open ()
225234 } else {
226235 Daemon .load_wallet ()
You can’t perform that action at this time.
0 commit comments