mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-25 03:51:04 +00:00
Fix bug with fieldEditor undo history carrying across between fields
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/branches/gnustep_testplant_branch@38282 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
cbb5eeabf6
commit
5c75af1e49
2 changed files with 11 additions and 0 deletions
|
@ -1,3 +1,9 @@
|
|||
2015-01-08 Doug Simons <doug.simons@testplant.com>
|
||||
|
||||
* Source/NSTextView.m: Fix bizarre behavior with undo/redo
|
||||
actions carrying across between different fields with the
|
||||
fieldEditor.
|
||||
|
||||
2014-07-14 Doug Simons <doug.simons@testplant.com>
|
||||
|
||||
* Headers/NSMenu.h
|
||||
|
|
|
@ -1704,6 +1704,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