Skip to content

Commit

Permalink
UI: Sync 'Copy Filters' enabled state in the Source context menu
Browse files Browse the repository at this point in the history
This matches the behaviour of Scenes and the Audio Mixer.
  • Loading branch information
WizardCM committed Dec 4, 2020
1 parent 55da44d commit 448599e
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions UI/window-basic-main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -5024,9 +5024,8 @@ void OBSBasic::CreateSourcePopupMenu(int idx, bool preview)

ui->actionCopyFilters->setEnabled(true);
ui->actionCopySource->setEnabled(true);
} else {
ui->actionPasteFilters->setEnabled(false);
}
ui->actionPasteFilters->setEnabled(copyFiltersString && idx != -1);

popup.exec(QCursor::pos());
}
Expand Down

0 comments on commit 448599e

Please sign in to comment.