mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-09-01 21:20:28 +02:00
use -dVerboseDesignerModified to see a stack trace when somthing modified the form
git-svn-id: trunk@8525 -
This commit is contained in:
parent
9278bbf72a
commit
b866eb1a17
@ -10112,6 +10112,9 @@ begin
|
||||
if SrcEdit<>nil then begin
|
||||
SrcEdit.Modified:=true;
|
||||
SourceNotebook.UpdateStatusBar;
|
||||
{$IFDEF VerboseDesignerModified}
|
||||
DumpStack;
|
||||
{$ENDIF}
|
||||
end;
|
||||
end;
|
||||
end;
|
||||
|
@ -724,10 +724,11 @@ Begin
|
||||
//debugln('TCustomNotebook.CNNotify A fPageIndex=',fPageIndex,' FLoadedPageIndex=',FLoadedPageIndex);
|
||||
UpdateAllDesignerFlags;
|
||||
if ([csLoading,csDestroying]*ComponentState=[]) then begin
|
||||
if fPageIndexOnLastChange<>fPageIndex then
|
||||
if fPageIndexOnLastChange<>fPageIndex then begin
|
||||
Change;
|
||||
if csDesigning in ComponentState then
|
||||
OwnerFormDesignerModified(Self);
|
||||
if csDesigning in ComponentState then
|
||||
OwnerFormDesignerModified(Self);
|
||||
end;
|
||||
end;
|
||||
end;
|
||||
end;
|
||||
|
Loading…
Reference in New Issue
Block a user