parent
2828742e1e
commit
1dfa92c2ce
|
@ -187,7 +187,8 @@ void ProjectFileDialog::browseBuildDir()
|
||||||
mUI.mEditBuildDir->setText(dir);
|
mUI.mEditBuildDir->setText(dir);
|
||||||
}
|
}
|
||||||
|
|
||||||
void ProjectFileDialog::updatePathsAndDefines() {
|
void ProjectFileDialog::updatePathsAndDefines()
|
||||||
|
{
|
||||||
bool importProject = !mUI.mEditImportProject->text().isEmpty();
|
bool importProject = !mUI.mEditImportProject->text().isEmpty();
|
||||||
mUI.mBtnClearImportProject->setEnabled(importProject);
|
mUI.mBtnClearImportProject->setEnabled(importProject);
|
||||||
mUI.mListCheckPaths->setEnabled(!importProject);
|
mUI.mListCheckPaths->setEnabled(!importProject);
|
||||||
|
@ -202,7 +203,8 @@ void ProjectFileDialog::updatePathsAndDefines() {
|
||||||
mUI.mBtnIncludeDown->setEnabled(!importProject);
|
mUI.mBtnIncludeDown->setEnabled(!importProject);
|
||||||
}
|
}
|
||||||
|
|
||||||
void ProjectFileDialog::clearImportProject() {
|
void ProjectFileDialog::clearImportProject()
|
||||||
|
{
|
||||||
mUI.mEditImportProject->clear();
|
mUI.mEditImportProject->clear();
|
||||||
updatePathsAndDefines();
|
updatePathsAndDefines();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue