Changeset 6685


Ignore:
Timestamp:
Sep 1, 2008, 11:41:46 PM (13 years ago)
Author:
livings124
Message:

missed on mainRunLoop

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/macosx/Controller.m

    r6684 r6685  
    489489    fTimer = [NSTimer scheduledTimerWithTimeInterval: UPDATE_UI_SECONDS target: self
    490490                selector: @selector(updateUI) userInfo: nil repeats: YES];
    491     [[NSRunLoop mainRunLoop] addTimer: fTimer forMode: NSModalPanelRunLoopMode];
    492     [[NSRunLoop mainRunLoop] addTimer: fTimer forMode: NSEventTrackingRunLoopMode];
     491    [[NSRunLoop currentRunLoop] addTimer: fTimer forMode: NSModalPanelRunLoopMode];
     492    [[NSRunLoop currentRunLoop] addTimer: fTimer forMode: NSEventTrackingRunLoopMode];
    493493   
    494494    [self applyFilter: nil];
Note: See TracChangeset for help on using the changeset viewer.