mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-23 09:04:13 +00:00
Redo fix.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20552 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
38bd9809e8
commit
aef3b74a59
2 changed files with 5 additions and 1 deletions
|
@ -1,3 +1,7 @@
|
|||
2005-01-14 06:50 Gregory John Casamento <greg_casamento@yahoo.com>
|
||||
|
||||
* Source/NSUndoManager.m: Correction for redo.
|
||||
|
||||
2005-01-14 05:43 Gregory John Casamento <greg_casamento@yahoo.com>
|
||||
|
||||
* Source/NSUndoManager.m: Fix forward invocation to not add
|
||||
|
|
|
@ -422,7 +422,7 @@
|
|||
[anInvocation setTarget: _nextTarget];
|
||||
_nextTarget = nil;
|
||||
[_group addInvocation: anInvocation];
|
||||
if (_isUndoing == NO && _isRedoing == NO)
|
||||
if (_isUndoing == NO && _isRedoing == NO && [_group actions] > 0)
|
||||
{
|
||||
[_redoStack removeAllObjects];
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue