mirror of https://github.com/stella-emu/stella.git
oops
This commit is contained in:
parent
5f28428ebd
commit
59d0c7fbda
|
@ -106,22 +106,6 @@ void RomAuditDialog::loadConfig()
|
||||||
myRomPath->setText(path);
|
myRomPath->setText(path);
|
||||||
myResults1->setText("");
|
myResults1->setText("");
|
||||||
myResults2->setText("");
|
myResults2->setText("");
|
||||||
|
|
||||||
if (!myConfirmMsg)
|
|
||||||
{
|
|
||||||
StringList msg;
|
|
||||||
msg.push_back("This operation cannot be undone. Your ROMs");
|
|
||||||
msg.push_back("will be modified, and as such there is a chance");
|
|
||||||
msg.push_back("that files may be lost. You are recommended");
|
|
||||||
msg.push_back("to back up your files before proceeding.");
|
|
||||||
msg.push_back("");
|
|
||||||
msg.push_back("If you're sure you want to proceed with the");
|
|
||||||
msg.push_back("audit, click 'OK', otherwise click 'Cancel'.");
|
|
||||||
myConfirmMsg = make_unique<GUI::MessageBox>
|
|
||||||
(this, myFont, msg, myMaxWidth, myMaxHeight, kConfirmAuditCmd,
|
|
||||||
"OK", "Cancel", "ROM Audit", false);
|
|
||||||
}
|
|
||||||
myConfirmMsg->show();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
||||||
|
|
Loading…
Reference in New Issue