mirror of
https://github.com/darlinghq/darling-cocotron.git
synced 2024-11-24 04:29:44 +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
|
- (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 (_groupsByEvent == YES) {
|
||||||
if (_currentGroup != nil)
|
if (_currentGroup != nil)
|
||||||
[self endUndoGrouping];
|
[self endUndoGrouping];
|
||||||
|
Loading…
Reference in New Issue
Block a user