mirror of
https://github.com/darlinghq/darling-cocotron.git
synced 2024-11-23 20:19:40 +00:00
(Fixes issue 399) disable NSUndoManager grouping by events as it causes a spin condition on the run loop
This commit is contained in:
parent
0fe044a8b8
commit
9c80ecb4ff
@ -201,6 +201,11 @@ NSString *NSUndoManagerDidRedoChangeNotification=@"NSUndoManagerDidRedoChangeNot
|
||||
|
||||
- (void)runLoopUndo:(id)dummy
|
||||
{
|
||||
return;
|
||||
|
||||
// FIXME: grouping by event is broken, causes a constant spin condition on the run loop by requeueing this method in itself
|
||||
// is the run loop method broken or this one?
|
||||
|
||||
if (_groupsByEvent == YES) {
|
||||
if (_currentGroup != nil)
|
||||
[self endUndoGrouping];
|
||||
|
Loading…
Reference in New Issue
Block a user