Changeset 534


Ignore:
Timestamp:
Jul 5, 2006, 11:42:56 PM (16 years ago)
Author:
livings124
Message:

Validate Minimal View menu item.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/macosx/Controller.m

    r530 r534  
    15631563
    15641564    //enable pause item
    1565     if( action == @selector(stopTorrent:) )
     1565    if (action == @selector(stopTorrent:))
    15661566    {
    15671567        if (!canUseMenu)
     
    15821582   
    15831583    //enable resume item
    1584     if( action == @selector(resumeTorrent:) )
     1584    if (action == @selector(resumeTorrent:))
    15851585    {
    15861586        if (!canUseMenu)
     
    16011601   
    16021602    //enable sort and advanced bar items
    1603     if (action == @selector(setSort:) || (action == @selector(toggleAdvancedBar:)))
     1603    if (action == @selector(setSort:) || action == @selector(toggleAdvancedBar:)
     1604            || action == @selector(toggleSmallView:))
    16041605        return canUseMenu;
    16051606   
    16061607    //enable copy torrent file item
    1607     if( action == @selector(copyTorrentFile:) )
     1608    if (action == @selector(copyTorrentFile:))
    16081609    {
    16091610        return canUseMenu && [fTableView numberOfSelectedRows] > 0;
Note: See TracChangeset for help on using the changeset viewer.