summaryrefslogtreecommitdiffstats
path: root/generic/tkText.c
diff options
context:
space:
mode:
authorfvogel <fvogelnew1@free.fr>2016-04-29 09:42:11 (GMT)
committerfvogel <fvogelnew1@free.fr>2016-04-29 09:42:11 (GMT)
commitcaca7822e575fd0943b0e41f85ffccfa37f02690 (patch)
tree515c619ded68ef15475279036fd94feeb8321b26 /generic/tkText.c
parentfa289415c7aaacc173ab97665af201a54eae611a (diff)
parent1e91aa73ce7aa59b5950e2a91443fdcdcba6ccaf (diff)
downloadtk-caca7822e575fd0943b0e41f85ffccfa37f02690.zip
tk-caca7822e575fd0943b0e41f85ffccfa37f02690.tar.gz
tk-caca7822e575fd0943b0e41f85ffccfa37f02690.tar.bz2
Fixed [fd3a4dc111] - <<Modified>> event is not always sent to peers
Diffstat (limited to 'generic/tkText.c')
-rw-r--r--generic/tkText.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/generic/tkText.c b/generic/tkText.c
index 506075d..e6cb96d 100644
--- a/generic/tkText.c
+++ b/generic/tkText.c
@@ -5215,7 +5215,10 @@ TextEditCmd(
*/
if ((!oldModified) != (!setModified)) {
- GenerateModifiedEvent(textPtr);
+ for (textPtr = textPtr->sharedTextPtr->peers; textPtr != NULL;
+ textPtr = textPtr->next) {
+ GenerateModifiedEvent(textPtr);
+ }
}
break;
case EDIT_REDO: