Commit 14f61e2d authored by Clinton Stimpson's avatar Clinton Stimpson

BUG: prevent recording events for the record events dialog.

BUG: set attribute on record events dialog so closing the main window lets the
     app quit
parent 56af485a
......@@ -79,6 +79,7 @@ pqRecordEventsDialog::pqRecordEventsDialog(pqEventTranslator& Translator,
this->Implementation->Ui.label->setText(QString(tr("Recording User Input to %1")).arg(Path));
this->Implementation->Translator.ignoreObject(this->Implementation->Ui.stopButton);
this->Implementation->Translator.ignoreObject(this);
this->setWindowTitle(tr("Recording User Input"));
this->setObjectName("");
......
......@@ -192,6 +192,7 @@ void pqTestUtility::recordTests(const QString& filename)
*observer,
filename,
QApplication::activeWindow());
dialog->setAttribute(Qt::WA_QuitOnClose, false);
dialog->show();
}
......
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