mirror of
https://github.com/monero-project/monero-gui.git
synced 2026-04-10 08:27:29 -04:00
WizardRestoreWallet4, WizardCreateWallet4: disable double-click on "Create wallet" button
This commit is contained in:
@@ -38,6 +38,7 @@ Rectangle {
|
||||
|
||||
color: "transparent"
|
||||
property alias pageHeight: pageRoot.height
|
||||
property alias wizardNav: wizardNav
|
||||
property string viewName: "wizardCreateWallet4"
|
||||
|
||||
ColumnLayout {
|
||||
@@ -64,6 +65,7 @@ Rectangle {
|
||||
WizardSummary {}
|
||||
|
||||
WizardNav {
|
||||
id: wizardNav
|
||||
Layout.topMargin: 24
|
||||
btnNextText: qsTr("Create wallet") + translationManager.emptyString
|
||||
progressSteps: appWindow.walletMode <= 1 ? 3 : 4
|
||||
@@ -77,11 +79,13 @@ Rectangle {
|
||||
}
|
||||
}
|
||||
onNextClicked: {
|
||||
btnNext.enabled = false;
|
||||
wizardController.wizardStateView.wizardCreateWallet2View.pwField = "";
|
||||
wizardController.wizardStateView.wizardCreateWallet2View.pwConfirmField = "";
|
||||
wizardController.writeWallet(function() {
|
||||
wizardController.useMoneroClicked();
|
||||
wizardController.walletOptionsIsRecoveringFromDevice = false;
|
||||
btnNext.enabled = true;
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user