Use default Yes/No buttons for confirmation
This commit is contained in:
parent
7d8c71aad8
commit
40b233448c
@ -92,11 +92,11 @@ void WorldListPage::on_rmWorldBtn_clicked()
|
||||
tr("This will remove the selected world permenantly.\n"
|
||||
"The world will be gone forever (A LONG TIME).\n"
|
||||
"\n"
|
||||
"Do you want to continue?"),
|
||||
tr("I understand, continue."), tr("Cancel"), QString(), 1, 1
|
||||
);
|
||||
if(result != 0)
|
||||
"Do you want to continue?"));
|
||||
if(result != QMessageBox::Yes)
|
||||
{
|
||||
return;
|
||||
}
|
||||
m_worlds->stopWatching();
|
||||
m_worlds->deleteWorlds(first, last);
|
||||
m_worlds->startWatching();
|
||||
|
Loading…
x
Reference in New Issue
Block a user