parent
6fd68c10f3
commit
f01bbcb926
|
@ -182,8 +182,10 @@ ModalPopup {
|
|||
color: Style.current.secondaryText
|
||||
}
|
||||
|
||||
Component {
|
||||
id: removeSeedPhraseConfirmDialogComponent
|
||||
ConfirmationDialog {
|
||||
id: removeSeedPhraseConfirm
|
||||
id: confirmPopup
|
||||
//% "Are you sure?"
|
||||
title: qsTrId("are-you-sure?")
|
||||
//% "You will not be able to see the whole seed phrase again"
|
||||
|
@ -191,13 +193,11 @@ ModalPopup {
|
|||
onConfirmButtonClicked: {
|
||||
profileModel.mnemonic.remove()
|
||||
popup.close();
|
||||
removeSeedPhraseConfirm.close();
|
||||
confirmPopup.close();
|
||||
}
|
||||
onClosed: {
|
||||
seedWord1Idx = -1;
|
||||
seedWord2Idx = -1;
|
||||
txtFieldWord.text = "";
|
||||
validationError = "";
|
||||
destroy();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -260,7 +260,7 @@ ModalPopup {
|
|||
|
||||
validationError = "";
|
||||
txtFieldWord.text = "";
|
||||
removeSeedPhraseConfirm.open();
|
||||
openPopup(removeSeedPhraseConfirmDialogComponent);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue