Changeset 12625


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

when changing the global ratio setting, reload the main table right away

Location:
trunk/macosx
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/macosx/GlobalOptionsPopoverViewController.m

    r12624 r12625  
    9191    tr_sessionSetRatioLimited(fHandle, [fDefaults boolForKey: @"RatioCheck"]);
    9292   
     93    //reload main table for seeding progress
     94    [[NSNotificationCenter defaultCenter] postNotificationName: @"UpdateUI" object: nil];
     95   
    9396    //reload global settings in inspector
    9497    [[NSNotificationCenter defaultCenter] postNotificationName: @"UpdateGlobalOptions" object: nil];
     
    102105   
    103106    [[NSNotificationCenter defaultCenter] postNotificationName: @"UpdateRatioStopValueOutsidePrefs" object: nil];
     107   
     108    //reload main table for seeding progress
     109    [[NSNotificationCenter defaultCenter] postNotificationName: @"UpdateUI" object: nil];
    104110   
    105111    //reload global settings in inspector
  • trunk/macosx/PrefsController.m

    r12624 r12625  
    613613    tr_sessionSetRatioLimit(fHandle, [fDefaults floatForKey: @"RatioLimit"]);
    614614   
     615    //reload main table for seeding progress
     616    [[NSNotificationCenter defaultCenter] postNotificationName: @"UpdateUI" object: nil];
     617   
    615618    //reload global settings in inspector
    616619    [[NSNotificationCenter defaultCenter] postNotificationName: @"UpdateGlobalOptions" object: nil];
Note: See TracChangeset for help on using the changeset viewer.