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.jobs = 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
result.terminate(false);
|
||||||
|
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1375,7 +1377,8 @@ void MainWindow::EditProjectFile()
|
||||||
msg.exec();
|
msg.exec();
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
mProject->Edit();
|
if (mProject->Edit())
|
||||||
|
CheckProject(mProject);
|
||||||
}
|
}
|
||||||
|
|
||||||
void MainWindow::ShowLogView()
|
void MainWindow::ShowLogView()
|
||||||
|
|
|
@ -97,8 +97,8 @@ public:
|
||||||
bool verbose;
|
bool verbose;
|
||||||
|
|
||||||
/** @brief Request termination of checking */
|
/** @brief Request termination of checking */
|
||||||
void terminate() {
|
void terminate(bool t = true) {
|
||||||
Settings::_terminated = true;
|
Settings::_terminated = t;
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @brief termination requested? */
|
/** @brief termination requested? */
|
||||||
|
|
Loading…
Reference in New Issue