Changeset 744


Ignore:
Timestamp:
Aug 8, 2006, 9:10:13 PM (15 years ago)
Author:
livings124
Message:

Don't allow fields in info to be selected if blank.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/macosx/InfoWindowController.m

    r741 r744  
    135135        [fDateStartedField setStringValue: @""];
    136136       
     137        //don't allow empty strings to be selected
     138        [fTrackerField setSelectable: NO];
     139        [fAnnounceField setSelectable: NO];
     140        [fHashField setSelectable: NO];
     141        [fTorrentLocationField setSelectable: NO];
     142        [fDataLocationField setSelectable: NO];
     143       
    137144        [fStateField setStringValue: @""];
    138145/*
     
    175182        [fDataLocationField setToolTip: [torrent dataLocation]];
    176183        [fDateStartedField setObjectValue: [torrent date]];
     184       
     185        //don't allow empty strings to be selected
     186        [fTrackerField setSelectable: YES];
     187        [fAnnounceField setSelectable: YES];
     188        [fHashField setSelectable: YES];
     189        [fTorrentLocationField setSelectable: YES];
     190        [fDataLocationField setSelectable: YES];
    177191    }
    178192   
Note: See TracChangeset for help on using the changeset viewer.