mirror of
https://github.com/cappuccino/cappuccino.git
synced 2026-11-25 16:05:52 +00:00
Fix for undoManager thowing exception in -canUndo.
This commit is contained in:
1 parent
76443a5d7f
commit
a9f970459b
1 file changed
+2
-2
@@ -317,8 +317,8 @@ if (_currentGroup == nil)
|
||||
{
|
||||
if (_undoStack.length > 0)
|
||||
return YES;
|
||||
|
||||
return [_currentGrouping actions].length > 0;
|
||||
|
||||
return [[_currentGrouping invocations] count] > 0;
|
||||
}
|
||||
|
||||
// Preform Undo and Redo
|
||||
|
||||
Reference in new issue
Block a user