mirror of
https://github.com/feather-wallet/feather.git
synced 2024-12-22 19:49:28 +00:00
wizard: macos: fix button inversion
This commit is contained in:
parent
477bae88d6
commit
4b43e49c6f
1 changed files with 3 additions and 3 deletions
|
@ -126,11 +126,11 @@ bool PageWalletSeed::validatePage() {
|
||||||
"• Never type it on a website\n"
|
"• Never type it on a website\n"
|
||||||
"• Store it safely (offline)\n"
|
"• Store it safely (offline)\n"
|
||||||
"• Do not lose your seed!");
|
"• Do not lose your seed!");
|
||||||
seedWarning.addButton("Go back", QMessageBox::RejectRole);
|
auto btn_goBack = seedWarning.addButton("Go back", QMessageBox::RejectRole);
|
||||||
seedWarning.addButton("I understand", QMessageBox::AcceptRole);
|
seedWarning.addButton("I understand", QMessageBox::AcceptRole);
|
||||||
int res = seedWarning.exec();
|
|
||||||
|
|
||||||
if (res == QMessageBox::Rejected) {
|
seedWarning.exec();
|
||||||
|
if (seedWarning.clickedButton() == btn_goBack) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue