GUI: allow that misra addon is executed without rule texts file
This commit is contained in:
parent
09597bc7e8
commit
5825ab75db
|
@ -347,9 +347,6 @@ void ProjectFileDialog::loadFromProjectFile(const ProjectFile *projectFile)
|
|||
if (!mUI->mAddonMisra->isEnabled()) {
|
||||
mUI->mEditMisraFile->setEnabled(false);
|
||||
mUI->mBtnBrowseMisraFile->setEnabled(false);
|
||||
} else if (misraFile.isEmpty()) {
|
||||
mUI->mAddonMisra->setEnabled(false);
|
||||
mUI->mAddonMisra->setText(mUI->mAddonMisra->text() + ' ' + tr("(no rule texts file)"));
|
||||
}
|
||||
|
||||
mUI->mToolClangAnalyzer->setChecked(projectFile->getClangAnalyzer());
|
||||
|
|
Loading…
Reference in New Issue