mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-30 16:30:41 +00:00
Return the name of last action in NSUndoManager.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@37365 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
7d519e603c
commit
169daabc3b
2 changed files with 14 additions and 1 deletions
|
@ -944,7 +944,15 @@
|
|||
{
|
||||
return nil;
|
||||
}
|
||||
return [[_undoStack lastObject] actionName];
|
||||
|
||||
if (_group != nil)
|
||||
{
|
||||
return [_group actionName];
|
||||
}
|
||||
else
|
||||
{
|
||||
return [[_undoStack lastObject] actionName];
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue