mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-09-02 15:42:08 +02:00
IDE: always set LCLWidgetType
git-svn-id: trunk@29190 -
This commit is contained in:
parent
33eff14728
commit
27b833a99b
@ -1804,7 +1804,7 @@ begin
|
||||
s:=GetDefaultTargetCPU;
|
||||
Result.Values['TargetCPU']:=s;
|
||||
end;
|
||||
if not Result.IsDefined('LCLWidgetType') then begin
|
||||
if Result.Values['LCLWidgetType']='' then begin
|
||||
Result.Values['LCLWidgetType']:=
|
||||
Project1.CompilerOptions.GetEffectiveLCLWidgetType;
|
||||
end;
|
||||
|
@ -5896,6 +5896,8 @@ begin
|
||||
Result:=inherited GetEffectiveLCLWidgetType
|
||||
else
|
||||
Result:=LCLPlatformDirNames[lpNoGUI];
|
||||
if (Result='') or (SysUtils.CompareText(Result,'default')=0) then
|
||||
Result:= LCLPlatformDirNames[GetDefaultLCLWidgetType];
|
||||
end;
|
||||
|
||||
class function TProjectCompilerOptions.GetInstance: TAbstractIDEOptions;
|
||||
|
Loading…
Reference in New Issue
Block a user