mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-31 17:20:37 +02:00
IDE: do not auto save layouts of csdesigntime forms, bug #18821
git-svn-id: trunk@29662 -
This commit is contained in:
parent
7d0f393fff
commit
93bf5b1fca
@ -1450,8 +1450,10 @@ begin
|
||||
|
||||
// auto create a storage for every shown form
|
||||
Layout:=SimpleLayoutStorage.ItemByFormID(AForm.Name);
|
||||
if Layout=nil then
|
||||
SimpleLayoutStorage.CreateWindowLayout(AForm)
|
||||
if Layout=nil then begin
|
||||
if not (csDesigning in AForm.ComponentState) then
|
||||
SimpleLayoutStorage.CreateWindowLayout(AForm);
|
||||
end
|
||||
else
|
||||
Layout.Form:=AForm;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user