diff options
author | Damiano Galassi <[email protected]> | 2016-12-20 12:17:42 +0100 |
---|---|---|
committer | Damiano Galassi <[email protected]> | 2016-12-20 12:17:42 +0100 |
commit | 239209172c2db0e9ed81aea492d914ac53bc6c5e (patch) | |
tree | 21551eb67154386827610ac2faf656cb3f12d498 /macosx/HBStateFormatter+Private.m | |
parent | 3586396665f8eb52d3ac3dcf8b315c98d756bf4a (diff) |
MacGui: do not display pass info if pass_count is -1. Start the HBCore update timer only after starting a scan/job.
Diffstat (limited to 'macosx/HBStateFormatter+Private.m')
-rw-r--r-- | macosx/HBStateFormatter+Private.m | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/macosx/HBStateFormatter+Private.m b/macosx/HBStateFormatter+Private.m index 809617e11..e4728661f 100644 --- a/macosx/HBStateFormatter+Private.m +++ b/macosx/HBStateFormatter+Private.m @@ -41,7 +41,7 @@ [string appendString:@"\n"]; } - if (self.showPassNumber) + if (self.showPassNumber && p.pass_count > -1) { if (p.pass_id == HB_PASS_SUBTITLE) { @@ -77,6 +77,7 @@ break; } +#undef p case HB_STATE_MUXING: { @@ -90,7 +91,6 @@ break; } -#undef p case HB_STATE_SCANNING: { #define p s.param.scanning @@ -124,6 +124,7 @@ switch (s.state) { + case HB_STATE_SEARCHING: case HB_STATE_WORKING: case HB_STATE_PAUSED: #define p s.param.working |