Add scenes to possible selection of "Source" condition type

It might be useful to check if a given scene is visible outside of it
being the currently active scene, as scenes can also be used as sources
within other scenes.
This commit is contained in:
WarmUpTill
2023-05-26 21:03:42 +02:00
committed by WarmUpTill
parent eb9e2e8062
commit 2048ca2816

View File

@@ -107,7 +107,9 @@ MacroConditionSourceEdit::MacroConditionSourceEdit(
populateConditionSelection(_conditions);
auto sources = GetSourceNames();
sources.sort();
_sources->SetSourceNameList(sources);
auto scenes = GetSceneNames();
scenes.sort();
_sources->SetSourceNameList(sources + scenes);
QWidget::connect(_sources,
SIGNAL(SourceChanged(const SourceSelection &)), this,