IDE: fixed default IDEWindowPlacement for non existing environmentoptions iwpRestoreWindowGeometry, bug #28789

git-svn-id: trunk@49967 -
This commit is contained in:
mattias 2015-10-07 10:34:47 +00:00
parent 191262e644
commit 23ea13b71c

View File

@ -1204,7 +1204,7 @@ begin
P:=Path+P+'/';
FFormCaption := Config.GetValue(P+'Caption/Value', fFormID);
// placement
if FileVersion<2 then
if FileVersion=1 then
DefaultValue:=iwpRestoreWindowSize
else
DefaultValue:=iwpRestoreWindowGeometry;