SourceEditor: Default to restore geometry

git-svn-id: trunk@24786 -
This commit is contained in:
martin 2010-04-21 11:02:14 +00:00
parent d9939ecbe6
commit 43590ff2fe

View File

@ -4630,8 +4630,10 @@ begin
KeyPreview:=true;
FProcessingCommand := false;
if EnvironmentOptions.IDEWindowLayoutList.ItemByFormID(self.Name) = nil then
if EnvironmentOptions.IDEWindowLayoutList.ItemByFormID(self.Name) = nil then begin
EnvironmentOptions.CreateWindowLayout(self.name);
EnvironmentOptions.IDEWindowLayoutList.ItemByFormID(self.Name).Clear;
end;
EnvironmentOptions.IDEWindowLayoutList.Apply(Self, self.Name);
ControlDocker:=TLazControlDocker.Create(Self);
ControlDocker.Name:='SourceEditor';