summaryrefslogtreecommitdiffstats
path: root/application/MainWindow.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'application/MainWindow.cpp')
-rw-r--r--application/MainWindow.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/application/MainWindow.cpp b/application/MainWindow.cpp
index acb8e92b..cf9e5099 100644
--- a/application/MainWindow.cpp
+++ b/application/MainWindow.cpp
@@ -1617,7 +1617,7 @@ void MainWindow::on_actionDeleteInstance_triggered()
)->exec();
if (response == QMessageBox::Yes)
{
- m_selectedInstance->nuke();
+ MMC->instances()->deleteInstance(m_selectedInstance->id());
}
}