GUI: Expand found results when using the scratchpad.

This commit is contained in:
Martin Ettl 2018-03-07 00:18:47 +01:00
parent b66a214ce5
commit 5fc8f13fd6
1 changed files with 4 additions and 0 deletions

View File

@ -547,6 +547,10 @@ void MainWindow::analyzeCode(const QString& code, const QString& filename)
mUI.mResults->checkingStarted(1);
cppcheck.check(filename.toStdString(), code.toStdString());
analysisDone();
// Expand results
if(mUI.mResults->hasVisibleResults())
mUI.mResults->expandAllResults();
}
QStringList MainWindow::selectFilesToAnalyze(QFileDialog::FileMode mode)