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:
gcasa 2005-01-14 11:49:46 +00:00
parent b0e6b71be7
commit d8e7174773
2 changed files with 5 additions and 1 deletions

View file

@ -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];
}