GH-2089 update wording of the instance delete confirmation dialog
This commit is contained in:
parent
9510a1bbf2
commit
ee341b78ba
@ -1597,11 +1597,13 @@ void MainWindow::on_actionDeleteInstance_triggered()
|
|||||||
{
|
{
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
auto response = CustomMessageBox::selectable(this, tr("CAREFUL!"), tr("About to delete: %1\nThis is permanent and will completely erase "
|
auto response = CustomMessageBox::selectable(
|
||||||
"all data, even for tracked instances!\nAre you sure?")
|
this,
|
||||||
.arg(m_selectedInstance->name()),
|
tr("CAREFUL!"),
|
||||||
QMessageBox::Warning, QMessageBox::Yes | QMessageBox::No)
|
tr("About to delete: %1\nThis is permanent and will completely delete the instance.\n\nAre you sure?").arg(m_selectedInstance->name()),
|
||||||
->exec();
|
QMessageBox::Warning,
|
||||||
|
QMessageBox::Yes | QMessageBox::No
|
||||||
|
)->exec();
|
||||||
if (response == QMessageBox::Yes)
|
if (response == QMessageBox::Yes)
|
||||||
{
|
{
|
||||||
m_selectedInstance->nuke();
|
m_selectedInstance->nuke();
|
||||||
|
Loading…
Reference in New Issue
Block a user