From 23ea13b71cf1a0314bb5eb36da4b9140b0c42337 Mon Sep 17 00:00:00 2001 From: mattias Date: Wed, 7 Oct 2015 10:34:47 +0000 Subject: [PATCH] IDE: fixed default IDEWindowPlacement for non existing environmentoptions iwpRestoreWindowGeometry, bug #28789 git-svn-id: trunk@49967 - --- components/ideintf/idewindowintf.pas | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/ideintf/idewindowintf.pas b/components/ideintf/idewindowintf.pas index 423eff0e97..121ddd79b4 100644 --- a/components/ideintf/idewindowintf.pas +++ b/components/ideintf/idewindowintf.pas @@ -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;