Add the timers for NSModalPanelRunLoopMode as well.

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@36187 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
fredkiefer 2013-02-22 11:28:06 +00:00
parent f520eb658d
commit 78e4d15232
4 changed files with 16 additions and 1 deletions

View file

@ -27,8 +27,10 @@
*/
#import <Foundation/NSAutoreleasePool.h>
#import <Foundation/NSRunLoop.h>
#import <Foundation/NSThread.h>
#import <Foundation/NSTimer.h>
#import "AppKit/NSApplication.h"
#import "AppKit/NSProgressIndicator.h"
#import "AppKit/NSGraphics.h"
#import "AppKit/NSImage.h"
@ -132,6 +134,7 @@
selector: @selector(animate:)
userInfo: nil
repeats: YES]);
[[NSRunLoop currentRunLoop] addTimer: _timer forMode: NSModalPanelRunLoopMode];
}
else
{