summaryrefslogtreecommitdiffstats
path: root/macosx/HBController.m
diff options
context:
space:
mode:
authorDamiano Galassi <[email protected]>2017-09-15 13:58:02 +0200
committerDamiano Galassi <[email protected]>2017-09-15 13:58:02 +0200
commit1a39e4c6602640f561d3fa392f2f8b6cd8f83ba8 (patch)
tree54e80d03209b211b27c09ed3d41439aaa56831c5 /macosx/HBController.m
parent6f5e5ea1703a9a40a54d8d677b1c24e45dff7b32 (diff)
MacGui: end fields editing before the filename check.
Diffstat (limited to 'macosx/HBController.m')
-rw-r--r--macosx/HBController.m3
1 files changed, 2 insertions, 1 deletions
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:)];
}