diff --git a/src/app/GUI/mainwindow.cpp b/src/app/GUI/mainwindow.cpp index 0f43460e1..38879dc3f 100644 --- a/src/app/GUI/mainwindow.cpp +++ b/src/app/GUI/mainwindow.cpp @@ -2029,6 +2029,11 @@ void MainWindow::importImageSequence() void MainWindow::revert() { + const int ask = QMessageBox::question(this, + tr("Confirm revert"), + tr("Are you sure you want to revert current project?" + "
Any changes will be lost.
")); + if (ask == QMessageBox::No) { return; } const QString path = mDocument.fEvFile; openFile(path); }