mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-09-03 15:21:18 +02:00
LCL: Fix grid not being repainted when the last row is deleted by setting RowCount to 0 (issue #34025, comment #0109658).
git-svn-id: trunk@58624 -
This commit is contained in:
parent
eadf7690aa
commit
f7e5c6c595
@ -3029,7 +3029,7 @@ var
|
||||
begin
|
||||
OldR := FRows.Count;
|
||||
if AValue<>OldR then begin
|
||||
if AValue>=1 then begin
|
||||
if AValue>=0 then begin
|
||||
NewColCount := ColCount;
|
||||
if (OldR=0) and FGridPropBackup.ValidData then begin
|
||||
NewColCount := FGridPropBackup.ColCount;
|
||||
|
Loading…
Reference in New Issue
Block a user