GH-930 Improve wording of instance delete dialog
This commit is contained in:
parent
aea51a0876
commit
2af03ba0d9
@ -1462,9 +1462,8 @@ void MainWindow::on_actionDeleteInstance_triggered()
|
|||||||
if (m_selectedInstance)
|
if (m_selectedInstance)
|
||||||
{
|
{
|
||||||
auto response = CustomMessageBox::selectable(
|
auto response = CustomMessageBox::selectable(
|
||||||
this, tr("CAREFUL"), tr("This is permanent! Are you sure?\nAbout to delete: ") +
|
this, tr("CAREFUL!"), tr("About to delete: %1\nThis is permanent and will completely erase all data, even for tracked instances!\nAre you sure?").arg(m_selectedInstance->name()),
|
||||||
m_selectedInstance->name(),
|
QMessageBox::Warning, QMessageBox::Yes | QMessageBox::No)->exec();
|
||||||
QMessageBox::Question, 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