Changeset 53 for trunk/Cocoa/Pester/Source/NJRHistoryTrackingComboBox.m
- Timestamp:
- 01/02/03 05:30:03 (22 years ago)
- Location:
- trunk/Cocoa/Pester/Source
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Cocoa/Pester/Source
- Property svn:ignore
-
old new 1 1 build 2 .gdb_history
-
- Property svn:ignore
-
trunk/Cocoa/Pester/Source/NJRHistoryTrackingComboBox.m
r39 r53 60 60 NSString *newValue = [self stringValue]; 61 61 int oldIndex = [self indexOfItemWithObjectValue: newValue]; 62 if ([newValue length] == 0) return YES; // donÕt save empty entries 62 63 [self removeItemWithObjectValue: newValue]; 63 64 [self insertItemWithObjectValue: newValue atIndex: 0];
Note:
See TracChangeset
for help on using the changeset viewer.