0
0
mirror of https://github.com/obsproject/obs-studio.git synced 2024-09-20 13:08:50 +02:00

UI: Sync 'Copy Filters' enabled state in the Source context menu

This matches the behaviour of Scenes and the Audio Mixer.
This commit is contained in:
Matt Gajownik 2020-12-04 21:10:37 +11:00
parent 55da44d7ee
commit 448599e761

View File

@ -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());
}