diff options
author | fvogel <fvogelnew1@free.fr> | 2022-04-03 10:43:56 (GMT) |
---|---|---|
committer | fvogel <fvogelnew1@free.fr> | 2022-04-03 10:43:56 (GMT) |
commit | b1f5acd445e52aadf8ad909c78535aeaab0f60fe (patch) | |
tree | 02ff54d16a18a86049984d6ae5ed1f4c30c16725 /generic/tkGrid.c | |
parent | 4d7dd5c1d1a545bed4de7e4b6627e1302796b0f0 (diff) | |
parent | febcba8fc330403fb595f58acc3570f3d29fe1ed (diff) | |
download | tk-b1f5acd445e52aadf8ad909c78535aeaab0f60fe.zip tk-b1f5acd445e52aadf8ad909c78535aeaab0f60fe.tar.gz tk-b1f5acd445e52aadf8ad909c78535aeaab0f60fe.tar.bz2 |
merge 8.6
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 785bc7f..ac6b59b 100644 --- a/generic/tkGrid.c +++ b/generic/tkGrid.c @@ -2811,6 +2811,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); |