mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-04 11:36:02 +02:00
LCL, grids: check editor unlock count, fix issue #26191
git-svn-id: trunk@46157 -
This commit is contained in:
parent
97bd4fbe07
commit
380a2eecbc
@ -7093,7 +7093,10 @@ end;
|
|||||||
|
|
||||||
procedure TCustomGrid.UnLockEditor;
|
procedure TCustomGrid.UnLockEditor;
|
||||||
begin
|
begin
|
||||||
Dec(FEditorHidingCount);
|
if FEDitorHidingCount>0 then
|
||||||
|
Dec(FEditorHidingCount)
|
||||||
|
else
|
||||||
|
DebugLn('WARNING: unpaired Unlock Editor');
|
||||||
{$ifdef dbgGrid}DebugLn('==< LockEditor: ', dbgs(FEditorHidingCount)); {$endif}
|
{$ifdef dbgGrid}DebugLn('==< LockEditor: ', dbgs(FEditorHidingCount)); {$endif}
|
||||||
end;
|
end;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user