Skip to content

Commit 57fb4b3

Browse files
Disable menu items while encoding is in progress
1 parent 6a486f8 commit 57fb4b3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Slash/controllers/SLHEncoderQueue.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -409,7 +409,7 @@ - (void)windowWillClose:(NSNotification *)notification {
409409

410410
- (void)menuNeedsUpdate:(NSMenu *)menu {
411411
NSInteger idx = _tableView.clickedRow;
412-
if (idx > -1) {
412+
if (idx > -1 && !(_inProgress)) {
413413
SLHEncoderQueueItem *queueItem = _arrayController.arrangedObjects[idx];
414414
NSArray *menuItems = menu.itemArray;
415415
for (NSMenuItem *menuItem in menuItems) {

0 commit comments

Comments
 (0)