- fix: Project Options Dialog's Files panel will crash app.
This commit is contained in:
parent
4eec64939e
commit
d4c7ec9bb9
1
NEWS.md
1
NEWS.md
|
@ -9,6 +9,7 @@ Red Panda C++ Version 2.2
|
||||||
- enhancement: base class dropdown list in new class dialog now works
|
- enhancement: base class dropdown list in new class dialog now works
|
||||||
- fix: Edting / show context menu when code analysis is turned on may crash app.
|
- fix: Edting / show context menu when code analysis is turned on may crash app.
|
||||||
- fix: Show context menu when edting non c/c++ file may crash app.
|
- fix: Show context menu when edting non c/c++ file may crash app.
|
||||||
|
- fix: Project Options Dialog's Files panel will crash app.
|
||||||
|
|
||||||
Red Panda C++ Version 2.1
|
Red Panda C++ Version 2.1
|
||||||
|
|
||||||
|
|
|
@ -99,6 +99,7 @@ void ProjectFilesWidget::copyUnits()
|
||||||
unitCopy->setOverrideBuildCmd(unit->overrideBuildCmd());
|
unitCopy->setOverrideBuildCmd(unit->overrideBuildCmd());
|
||||||
unitCopy->setBuildCmd(unit->buildCmd());
|
unitCopy->setBuildCmd(unit->buildCmd());
|
||||||
unitCopy->setEncoding(unit->encoding());
|
unitCopy->setEncoding(unit->encoding());
|
||||||
|
unitCopy->setFileName(unit->fileName());
|
||||||
mUnits.append(unitCopy);
|
mUnits.append(unitCopy);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue