mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-09-02 15:20:33 +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
|
// auto create a storage for every shown form
|
||||||
Layout:=SimpleLayoutStorage.ItemByFormID(AForm.Name);
|
Layout:=SimpleLayoutStorage.ItemByFormID(AForm.Name);
|
||||||
if Layout=nil then
|
if Layout=nil then begin
|
||||||
SimpleLayoutStorage.CreateWindowLayout(AForm)
|
if not (csDesigning in AForm.ComponentState) then
|
||||||
|
SimpleLayoutStorage.CreateWindowLayout(AForm);
|
||||||
|
end
|
||||||
else
|
else
|
||||||
Layout.Form:=AForm;
|
Layout.Form:=AForm;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user