mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-13 09:49:22 +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;
|
KeyPreview:=true;
|
||||||
FProcessingCommand := false;
|
FProcessingCommand := false;
|
||||||
|
|
||||||
if EnvironmentOptions.IDEWindowLayoutList.ItemByFormID(self.Name) = nil then
|
if EnvironmentOptions.IDEWindowLayoutList.ItemByFormID(self.Name) = nil then begin
|
||||||
EnvironmentOptions.CreateWindowLayout(self.name);
|
EnvironmentOptions.CreateWindowLayout(self.name);
|
||||||
|
EnvironmentOptions.IDEWindowLayoutList.ItemByFormID(self.Name).Clear;
|
||||||
|
end;
|
||||||
EnvironmentOptions.IDEWindowLayoutList.Apply(Self, self.Name);
|
EnvironmentOptions.IDEWindowLayoutList.Apply(Self, self.Name);
|
||||||
ControlDocker:=TLazControlDocker.Create(Self);
|
ControlDocker:=TLazControlDocker.Create(Self);
|
||||||
ControlDocker.Name:='SourceEditor';
|
ControlDocker.Name:='SourceEditor';
|
||||||
|
Loading…
Reference in New Issue
Block a user