GUI: Remove message box when saving results even though there are no results, to prevent problems with autosave
This commit is contained in:
parent
4465d033f6
commit
9ff8adcc40
|
@ -171,13 +171,6 @@ void ResultsView::updateFromOldReport(const QString &filename) const
|
|||
|
||||
void ResultsView::save(const QString &filename, Report::Type type) const
|
||||
{
|
||||
if (!hasResults()) {
|
||||
QMessageBox msgBox;
|
||||
msgBox.setText(tr("No errors found, nothing to save."));
|
||||
msgBox.setIcon(QMessageBox::Critical);
|
||||
msgBox.exec();
|
||||
}
|
||||
|
||||
Report *report = nullptr;
|
||||
|
||||
switch (type) {
|
||||
|
|
Loading…
Reference in New Issue