From 789d61d9f1359280740642e495a8a7fa061eb828 Mon Sep 17 00:00:00 2001 From: Kelvin Sherlock Date: Mon, 31 May 2021 11:24:33 -0400 Subject: [PATCH] when launching, clear the first responder so any text fields with focus will commit. --- Ample/LaunchWindowController.m | 1 + 1 file changed, 1 insertion(+) diff --git a/Ample/LaunchWindowController.m b/Ample/LaunchWindowController.m index e9066c5..627984e 100644 --- a/Ample/LaunchWindowController.m +++ b/Ample/LaunchWindowController.m @@ -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];