mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-09-24 10:19:18 +02:00
IDE: invalidate codetools defines when changing target
git-svn-id: branches/fixes_1_4@48267 -
This commit is contained in:
parent
d4c41dbb6e
commit
2e32fef865
@ -2628,7 +2628,10 @@ begin
|
||||
or (CodeToolBoss.DefineTree.FindDefineTemplateByName(
|
||||
StdDefTemplLazarusSources,true)=nil);
|
||||
if FPCTargetChanged then
|
||||
begin
|
||||
IncreaseBuildMacroChangeStamp;
|
||||
CodeToolBoss.DefineTree.ClearCache;
|
||||
end;
|
||||
|
||||
// compute new LCLWidgetType
|
||||
fLCLWidgetType:=GetEffectiveLCLWidgetType;
|
||||
|
Loading…
Reference in New Issue
Block a user