summaryrefslogtreecommitdiffstats
path: root/macosx/HBQueueController.m
diff options
context:
space:
mode:
authorDamiano Galassi <[email protected]>2016-11-21 18:34:00 +0100
committerDamiano Galassi <[email protected]>2016-11-21 18:34:00 +0100
commit66f68fa5b4f1c0312182fa3937fe8d7e163096d0 (patch)
treef6d8b2434beec4bce0ca1edbfca0aabde2b5006f /macosx/HBQueueController.m
parent69f3bfce6086952235d446c351007fb7f32cf9b1 (diff)
MacGui: fix the stop button to properly stop the encode if libhb state is HBStateSearching.
Diffstat (limited to 'macosx/HBQueueController.m')
-rw-r--r--macosx/HBQueueController.m2
1 files changed, 1 insertions, 1 deletions
diff --git a/macosx/HBQueueController.m b/macosx/HBQueueController.m
index 53aef5e05..318233714 100644
--- a/macosx/HBQueueController.m
+++ b/macosx/HBQueueController.m
@@ -1114,7 +1114,7 @@
- (IBAction)rip:(id)sender
{
// Rip or Cancel ?
- if (self.core.state == HBStateWorking || self.core.state == HBStatePaused)
+ if (self.core.state == HBStateWorking || self.core.state == HBStatePaused || self.core.state == HBStateSearching)
{
[self cancelRip:sender];
}