From 1a39e4c6602640f561d3fa392f2f8b6cd8f83ba8 Mon Sep 17 00:00:00 2001 From: Damiano Galassi Date: Fri, 15 Sep 2017 13:58:02 +0200 Subject: MacGui: end fields editing before the filename check. --- macosx/HBController.m | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'macosx/HBController.m') diff --git a/macosx/HBController.m b/macosx/HBController.m index 30fbc21d5..2085cbcb3 100644 --- a/macosx/HBController.m +++ b/macosx/HBController.m @@ -1100,7 +1100,6 @@ */ - (void)doAddToQueue { - [self.window HB_endEditing]; [fQueueController addJob:[self.job copy]]; } @@ -1109,6 +1108,7 @@ */ - (IBAction)addToQueue:(id)sender { + [self.window HB_endEditing]; [self runDestinationAlerts:self.job didEndSelector:@selector(overwriteAddToQueueAlertDone:returnCode:contextInfo:)]; } @@ -1157,6 +1157,7 @@ } else { + [self.window HB_endEditing]; [self runDestinationAlerts:self.job didEndSelector:@selector(overWriteAlertDone:returnCode:contextInfo:)]; } -- cgit v1.2.3