diff options
author | pspjuth <peter.spjuth@gmail.com> | 2016-08-30 19:46:35 (GMT) |
---|---|---|
committer | pspjuth <peter.spjuth@gmail.com> | 2016-08-30 19:46:35 (GMT) |
commit | be848ca8401774a0242312db38ec6505dee6190a (patch) | |
tree | 87cc0e3475fbad8569ee27b754309c91c32fd713 /generic/tkText.c | |
parent | 62db56a65b6354d1f30ee38fd0e16ce724f8432d (diff) | |
download | tk-be848ca8401774a0242312db38ec6505dee6190a.zip tk-be848ca8401774a0242312db38ec6505dee6190a.tar.gz tk-be848ca8401774a0242312db38ec6505dee6190a.tar.bz2 |
Made text widget's default undo false again.
Diffstat (limited to 'generic/tkText.c')
-rw-r--r-- | generic/tkText.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/generic/tkText.c b/generic/tkText.c index 5ad527a..ab77d99 100644 --- a/generic/tkText.c +++ b/generic/tkText.c @@ -547,7 +547,7 @@ CreateWidget( Tcl_InitHashTable(&sharedPtr->windowTable, TCL_STRING_KEYS); Tcl_InitHashTable(&sharedPtr->imageTable, TCL_STRING_KEYS); sharedPtr->undoStack = TkUndoInitStack(interp,0); - sharedPtr->undo = 1; + sharedPtr->undo = 0; sharedPtr->isDirty = 0; sharedPtr->dirtyMode = TK_TEXT_DIRTY_NORMAL; sharedPtr->autoSeparators = 1; |