diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2022-03-25 08:49:17 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2022-03-25 08:49:17 (GMT) |
commit | e87215095d499ceb5ee6a524291b655bd2b5e68e (patch) | |
tree | 086b7eba78da96974e5f4ec90e75101db5831b5f /generic/tkGrid.c | |
parent | b9ec863e51c38596a4d72a0b58c339da5722a60f (diff) | |
parent | 332a310b88f7e2df121be42967755bc600f2c1b2 (diff) | |
download | tk-e87215095d499ceb5ee6a524291b655bd2b5e68e.zip tk-e87215095d499ceb5ee6a524291b655bd2b5e68e.tar.gz tk-e87215095d499ceb5ee6a524291b655bd2b5e68e.tar.bz2 |
Merge 8.7
Diffstat (limited to 'generic/tkGrid.c')
-rw-r--r-- | generic/tkGrid.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/generic/tkGrid.c b/generic/tkGrid.c index 3ec3597..d796110 100644 --- a/generic/tkGrid.c +++ b/generic/tkGrid.c @@ -2829,6 +2829,9 @@ DestroyGrid( { Gridder *gridPtr = (Gridder *)memPtr; + if (gridPtr->flags & REQUESTED_RELAYOUT) { + Tcl_CancelIdleCall(ArrangeGrid, gridPtr); + } if (gridPtr->containerDataPtr != NULL) { if (gridPtr->containerDataPtr->rowPtr != NULL) { ckfree(gridPtr->containerDataPtr -> rowPtr); |