Fixed #3492 (GUI: after edit project recheck use old settings)
This commit is contained in:
parent
d4d1d32937
commit
6f133a397b
|
@ -789,6 +789,8 @@ Settings MainWindow::GetCppcheckSettings()
|
|||
result.jobs = 1;
|
||||
}
|
||||
|
||||
result.terminate(false);
|
||||
|
||||
return result;
|
||||
}
|
||||
|
||||
|
@ -1375,7 +1377,8 @@ void MainWindow::EditProjectFile()
|
|||
msg.exec();
|
||||
return;
|
||||
}
|
||||
mProject->Edit();
|
||||
if (mProject->Edit())
|
||||
CheckProject(mProject);
|
||||
}
|
||||
|
||||
void MainWindow::ShowLogView()
|
||||
|
|
|
@ -97,8 +97,8 @@ public:
|
|||
bool verbose;
|
||||
|
||||
/** @brief Request termination of checking */
|
||||
void terminate() {
|
||||
Settings::_terminated = true;
|
||||
void terminate(bool t = true) {
|
||||
Settings::_terminated = t;
|
||||
}
|
||||
|
||||
/** @brief termination requested? */
|
||||
|
|
Loading…
Reference in New Issue