0
0
mirror of https://github.com/obsproject/obs-studio.git synced 2024-09-20 04:42:18 +02:00

Merge pull request #1262 from Andersama/patch-12

UI: Disable paste filters unless a source is selected
This commit is contained in:
Jim 2018-04-22 23:59:12 -07:00 committed by GitHub
commit 9a1c27accb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -3910,6 +3910,8 @@ void OBSBasic::CreateSourcePopupMenu(QListWidgetItem *item, bool preview)
ui->actionCopyFilters->setEnabled(true);
ui->actionCopySource->setEnabled(true);
} else {
ui->actionPasteFilters->setEnabled(false);
}
popup.exec(QCursor::pos());