mirror of
https://github.com/obsproject/obs-studio.git
synced 2024-09-20 13:08:50 +02:00
Merge pull request #1262 from Andersama/patch-12
UI: Disable paste filters unless a source is selected
This commit is contained in:
commit
9a1c27accb
@ -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());
|
||||
|
Loading…
Reference in New Issue
Block a user