* Source/NSTextView.m: Fix bizarre behavior with undo/redo

actions carrying across between different fields with the
        fieldEditor.
        Patch by Doug Simons <doug.simons@testplant.com>


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@38288 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Fred Kiefer 2015-01-11 21:53:19 +00:00
parent 51276dc346
commit a8f35bbb94
2 changed files with 12 additions and 0 deletions

View file

@ -1,3 +1,10 @@
2015-01-11 Fred Kiefer <FredKiefer@gmx.de>
* Source/NSTextView.m: Fix bizarre behavior with undo/redo
actions carrying across between different fields with the
fieldEditor.
Patch by Doug Simons <doug.simons@testplant.com>
2015-01-11 Fred Kiefer <FredKiefer@gmx.de>
* Source/tiff.m: Use type tmsize_t.

View file

@ -1705,6 +1705,11 @@ to make sure syncing is handled properly in all cases.
[notificationCenter postNotificationName: NSTextDidEndEditingNotification
object: _notifObject];
if (_tf.is_field_editor)
{
[[self undoManager] removeAllActions];
}
return YES;
}