mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-05-14 16:32:48 +02:00
SourceEditor: Default to restore geometry
git-svn-id: trunk@24786 -
This commit is contained in:
parent
d9939ecbe6
commit
43590ff2fe
@ -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';
|
||||
|
Loading…
Reference in New Issue
Block a user