mirror of
https://github.com/ksherlock/ample.git
synced 2024-09-27 15:58:52 +00:00
when launching, clear the first responder so any text fields with focus will commit.
This commit is contained in:
parent
5ffc85f9fc
commit
789d61d9f1
@ -460,6 +460,7 @@ static NSString *ShellQuote(NSString *s) {
|
||||
|
||||
- (IBAction)launchAction:(id)sender {
|
||||
|
||||
[[self window] makeFirstResponder: nil]; // in case text is being edited...
|
||||
if (![_args count]) return;
|
||||
|
||||
[LogWindowController controllerForArgs: _args];
|
||||
|
Loading…
Reference in New Issue
Block a user