summaryrefslogtreecommitdiffstats
path: root/macosx
diff options
context:
space:
mode:
Diffstat (limited to 'macosx')
-rw-r--r--macosx/HBQueue.m4
1 files changed, 2 insertions, 2 deletions
diff --git a/macosx/HBQueue.m b/macosx/HBQueue.m
index 5046b12be..64cce2905 100644
--- a/macosx/HBQueue.m
+++ b/macosx/HBQueue.m
@@ -619,8 +619,6 @@ NSString * const HBQueueItemNotificationItemKey = @"HBQueueItemNotificationItemK
[NSNotificationCenter.defaultCenter postNotificationName:HBQueueDidStartItemNotification object:self userInfo:@{HBQueueItemNotificationItemKey: nextItem,
HBQueueItemNotificationIndexesKey: indexes}];
- [self updateStats];
-
// now we can go ahead and scan the new pending queue item
[self encodeItem:nextItem];
@@ -636,6 +634,8 @@ NSString * const HBQueueItemNotificationItemKey = @"HBQueueItemNotificationItemK
}
}
+ [self updateStats];
+
[NSNotificationCenter.defaultCenter postNotificationName:HBQueueDidChangeStateNotification object:self];
[self.items commit];