mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-07 20:18:34 +02:00
IDE: Update Application.Scaled line in project main source correctly.
git-svn-id: trunk@62580 -
This commit is contained in:
parent
7cfe7dc26d
commit
1bfb7ec3fd
@ -4360,7 +4360,7 @@ begin
|
||||
//DebugLn(['UpdateAppScaledInSource: Project Scaled=',ProjScaled,', Scaled Statement=',ScaledStat]);
|
||||
if pfMainUnitHasScaledStatement in Project1.Flags then
|
||||
begin // Add Scaled statement if not there already.
|
||||
if (ScaledStat = ProjScaled) or not ProjScaled then
|
||||
if ScaledStat = ProjScaled then
|
||||
Exit;
|
||||
//DebugLn(['UpdateAppScaledInSource: Setting Scaled to ',ProjScaled]);
|
||||
if not CodeToolBoss.SetApplicationScaledStatement(Project1.MainUnitInfo.Source, ProjScaled) then
|
||||
|
Loading…
Reference in New Issue
Block a user