From 448599e761c4423edc3a9d0022d43729c6b0654f Mon Sep 17 00:00:00 2001 From: Matt Gajownik Date: Fri, 4 Dec 2020 21:10:37 +1100 Subject: [PATCH] UI: Sync 'Copy Filters' enabled state in the Source context menu This matches the behaviour of Scenes and the Audio Mixer. --- UI/window-basic-main.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/UI/window-basic-main.cpp b/UI/window-basic-main.cpp index f27a2143d..e0fe16e3e 100644 --- a/UI/window-basic-main.cpp +++ b/UI/window-basic-main.cpp @@ -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()); }