summaryrefslogtreecommitdiffstats
path: root/generic
diff options
context:
space:
mode:
authorfvogel <fvogelnew1@free.fr>2016-04-05 16:08:33 (GMT)
committerfvogel <fvogelnew1@free.fr>2016-04-05 16:08:33 (GMT)
commit1e91aa73ce7aa59b5950e2a91443fdcdcba6ccaf (patch)
tree019b76b42c1b15258092aa338f1bf27a33da046f /generic
parent0970af5f4951894b38cb6e9dcc6b64cdb7e4a41a (diff)
downloadtk-1e91aa73ce7aa59b5950e2a91443fdcdcba6ccaf.zip
tk-1e91aa73ce7aa59b5950e2a91443fdcdcba6ccaf.tar.gz
tk-1e91aa73ce7aa59b5950e2a91443fdcdcba6ccaf.tar.bz2
Fixed [fd3a4dc111] - <<Modified>> event is not always sent to peersbug_fd3a4dc111
Diffstat (limited to 'generic')
-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: