Changeset 12624


Ignore:
Timestamp:
Aug 5, 2011, 2:38:11 AM (10 years ago)
Author:
livings124
Message:

when changing the idle seed time setting, reload the main table right away

Location:
trunk/macosx
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/macosx/GlobalOptionsPopoverViewController.m

    r12576 r12624  
    111111    tr_sessionSetIdleLimited(fHandle, [fDefaults boolForKey: @"IdleLimitCheck"]);
    112112   
     113    //reload main table for remaining seeding time
     114    [[NSNotificationCenter defaultCenter] postNotificationName: @"UpdateUI" object: nil];
     115   
    113116    //reload global settings in inspector
    114117    [[NSNotificationCenter defaultCenter] postNotificationName: @"UpdateGlobalOptions" object: nil];
     
    122125   
    123126    [[NSNotificationCenter defaultCenter] postNotificationName: @"UpdateIdleStopValueOutsidePrefs" object: nil];
     127   
     128    //reload main table for remaining seeding time
     129    [[NSNotificationCenter defaultCenter] postNotificationName: @"UpdateUI" object: nil];
    124130   
    125131    //reload global settings in inspector
  • trunk/macosx/PrefsController.m

    r12618 r12624  
    642642    tr_sessionSetIdleLimit(fHandle, [fDefaults integerForKey: @"IdleLimitMinutes"]);
    643643   
    644     #warning reload main table for remaining seeding time
     644    //reload main table for remaining seeding time
     645    [[NSNotificationCenter defaultCenter] postNotificationName: @"UpdateUI" object: nil];
    645646   
    646647    //reload global settings in inspector
Note: See TracChangeset for help on using the changeset viewer.