mirror of https://github.com/ksherlock/ample.git
base the export shell script default name on the machine name.
This commit is contained in:
parent
dc7adde938
commit
9626a6588f
|
@ -425,9 +425,12 @@ static NSString *ShellQuote(NSString *s) {
|
|||
-(IBAction)exportShellScript: (id)sender {
|
||||
|
||||
NSSavePanel *p = [NSSavePanel savePanel];
|
||||
|
||||
NSString *defaultName = [_mameMachine stringByAppendingString: @".sh"];
|
||||
|
||||
[p setTitle: @"Export Shell Script"];
|
||||
[p setExtensionHidden: NO];
|
||||
[p setNameFieldStringValue: @"mame.sh"];
|
||||
[p setNameFieldStringValue: defaultName];
|
||||
|
||||
//[p setDelegate: self];
|
||||
|
||||
|
|
Loading…
Reference in New Issue