Commit d92a5bb2 authored by Christoffer Ackelman's avatar Christoffer Ackelman

QT: Fixed rt_xtt closing even if cancel is pressed in the confirm dialog.

parent 759e0c42
......@@ -53,6 +53,7 @@
#include "rt_xtt_qt.h"
#include <QApplication>
#include <QCloseEvent>
#include <QDesktopWidget>
#include <QInputDialog>
#include <QMenuBar>
......@@ -575,7 +576,7 @@ void XttQtWidget::closeEvent(QCloseEvent* event)
{
xtt->close(xtt,
xtt->xnav->op || xtt->xnav->ge_main || xtt->xnav->multiview_main ? 0 : 1);
QWidget::closeEvent(event);
event->ignore();
}
XttQt::XttQt(int argc, char* argv[], int* return_sts)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment