Allow use of "previous scene"

This commit is contained in:
WarmUpTill
2021-11-12 19:45:49 +01:00
committed by WarmUpTill
parent 00fec4b573
commit 0350a46004
2 changed files with 8 additions and 7 deletions

View File

@@ -800,7 +800,8 @@ void populateSceneItemSelection(QComboBox *list, SceneSelection &s)
{
std::set<QString> names;
if (s.GetType() == SceneSelectionType::CURRENT) {
if (s.GetType() == SceneSelectionType::CURRENT ||
s.GetType() == SceneSelectionType::PREVIOUS) {
auto enumScenes = [](void *param, obs_source_t *source) {
if (!source) {
return true;