mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-23 02:04:20 +00:00
* 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:
parent
51276dc346
commit
a8f35bbb94
2 changed files with 12 additions and 0 deletions
|
@ -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.
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue