150 |
|
|
151 |
|
- (void) dealloc |
152 |
|
{ |
153 |
+ |
[home release]; |
154 |
|
[volsDS release]; |
155 |
|
[SCSIds release]; |
156 |
|
[lockCell release]; |
262 |
|
- (IBAction) ChangeBootFrom: (NSMatrix *)sender |
263 |
|
{ |
264 |
|
if ( [sender selectedCell] == (id)bootFromCD ) |
265 |
+ |
{ |
266 |
+ |
[disableCD setState: NSOffState]; |
267 |
+ |
|
268 |
|
PrefsReplaceInt32("bootdriver", CDROMRefNum); |
269 |
+ |
} |
270 |
|
else |
271 |
|
PrefsReplaceInt32("bootdriver", 0); |
272 |
|
edited = YES; |
280 |
|
|
281 |
|
- (IBAction) ChangeDisableCD: (NSButton *)sender |
282 |
|
{ |
283 |
< |
PrefsReplaceBool("nocdrom", [disableCD state]); |
283 |
> |
int disabled = [disableCD state]; |
284 |
> |
|
285 |
> |
PrefsReplaceBool("nocdrom", disabled); |
286 |
> |
if ( disabled ) |
287 |
> |
{ |
288 |
> |
[bootFromAny setState: NSOnState]; |
289 |
> |
[bootFromCD setState: ![disableCD state]]; |
290 |
> |
} |
291 |
|
edited = YES; |
292 |
|
} |
293 |
|
|