UI: Disable properties for groups in context menu

Makes it consistent with the source context menu.
This commit is contained in:
Clayton Groeneveld 2021-04-13 18:28:05 -05:00 committed by Jim
parent 232c35cc22
commit d9b4fbba1a

View file

@ -5422,8 +5422,10 @@ void OBSBasic::CreateSourcePopupMenu(int idx, bool preview)
OBS_SOURCE_INTERACTION);
popup.addAction(QTStr("Filters"), this, SLOT(OpenFilters()));
popup.addAction(QTStr("Properties"), this,
SLOT(on_actionSourceProperties_triggered()));
action = popup.addAction(
QTStr("Properties"), this,
SLOT(on_actionSourceProperties_triggered()));
action->setEnabled(obs_source_configurable(source));
}
popup.exec(QCursor::pos());