GUI: Fix bug that GUI didn't close the report file.
This commit is contained in:
parent
2fb3b187f0
commit
f11d34c109
|
@ -167,6 +167,8 @@ void ResultsView::Save(const QString &filename, Report::Type type)
|
||||||
msgBox.setIcon(QMessageBox::Critical);
|
msgBox.setIcon(QMessageBox::Critical);
|
||||||
msgBox.exec();
|
msgBox.exec();
|
||||||
}
|
}
|
||||||
|
delete report;
|
||||||
|
report = NULL;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue