mirror of
https://github.com/ksherlock/ample.git
synced 2024-11-19 02:11:08 +00:00
reset more things when no default.
This commit is contained in:
parent
0381037356
commit
33d6c651d0
@ -489,6 +489,11 @@ DQ
|
||||
</searchFieldCell>
|
||||
<connections>
|
||||
<action selector="softwareChanged:" target="-2" id="879-da-UEc"/>
|
||||
<binding destination="-2" name="hidden" keyPath="machine" id="RdE-9k-oFd">
|
||||
<dictionary key="options">
|
||||
<string key="NSValueTransformerName">NSIsNil</string>
|
||||
</dictionary>
|
||||
</binding>
|
||||
</connections>
|
||||
</searchField>
|
||||
<customView id="oVt-eD-aaj" customClass="FlippedView">
|
||||
|
@ -162,6 +162,8 @@ static int EffectsIndex(NSString *str) {
|
||||
[self setMameShareDirectory: NO];
|
||||
|
||||
[self setSoftware: nil];
|
||||
_softwareSet = nil;
|
||||
[_softwareListControl setObjectValue: nil];
|
||||
}
|
||||
|
||||
-(void)windowWillLoad {
|
||||
@ -681,6 +683,7 @@ static NSString *ShellQuote(NSString *s) {
|
||||
NSDictionary *d = [bm loadDefault];
|
||||
if (!d) {
|
||||
[self reset: sender];
|
||||
[_slotController setMachine: nil];
|
||||
return;
|
||||
}
|
||||
[self loadBookmark: d];
|
||||
|
Loading…
Reference in New Issue
Block a user