32 |
|
Drag VM from Finder to import |
33 |
|
Don't show Preferences menu in spawned SheepShaver instances - or make them |
34 |
|
use the same nib file as this app! |
35 |
– |
Disable buttons on empty selection |
35 |
|
|
36 |
|
*/ |
37 |
|
|
84 |
|
return [vmArray objectAtIndex: r]; // [[vmArray objectAtIndex: r] lastPathComponent]; |
85 |
|
} |
86 |
|
|
87 |
+ |
- (void) tableViewSelectionDidChange: (NSNotification *) notification |
88 |
+ |
{ |
89 |
+ |
if ([vmList selectedRow] >= 0) { |
90 |
+ |
[settingsButton setEnabled:YES]; |
91 |
+ |
[launchButton setEnabled:YES]; |
92 |
+ |
} else { |
93 |
+ |
[settingsButton setEnabled:NO]; |
94 |
+ |
[launchButton setEnabled:NO]; |
95 |
+ |
} |
96 |
+ |
} |
97 |
+ |
|
98 |
|
//- (NSString *) tableView: (NSTableView *) table toolTipForCell: (NSCell *) cell rect: (NSRectPointer) rect |
99 |
|
// tableColumn: (NSTableColumn *) c row: (int) r mouseLocation: (NSPoint) loc |
100 |
|
//{ |