UI: Copy Filters menu is active only if applicable
This commit is contained in:
parent
54cbd98d91
commit
543f58d4a6
1 changed files with 2 additions and 1 deletions
|
|
@ -5075,7 +5075,8 @@ void OBSBasic::CreateSourcePopupMenu(int idx, bool preview)
|
|||
popup.addAction(QTStr("Properties"), this,
|
||||
SLOT(on_actionSourceProperties_triggered()));
|
||||
|
||||
ui->actionCopyFilters->setEnabled(true);
|
||||
ui->actionCopyFilters->setEnabled(
|
||||
obs_source_filter_count(source) > 0);
|
||||
ui->actionCopySource->setEnabled(true);
|
||||
}
|
||||
ui->actionPasteFilters->setEnabled(copyFiltersString && idx != -1);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue