mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-07-29 09:18:25 +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;
|
||||
begin
|
||||
Dec(FEditorHidingCount);
|
||||
if FEDitorHidingCount>0 then
|
||||
Dec(FEditorHidingCount)
|
||||
else
|
||||
DebugLn('WARNING: unpaired Unlock Editor');
|
||||
{$ifdef dbgGrid}DebugLn('==< LockEditor: ', dbgs(FEditorHidingCount)); {$endif}
|
||||
end;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user