UI: Fix used source for SetCurrentScene during undo

This commit is contained in:
tt2468 2021-09-13 02:02:50 -07:00 committed by Matt Gajownik
parent 63a570ed00
commit 1f504c6ba4

View File

@ -378,7 +378,7 @@ void OBSBasicProperties::on_buttonBox_clicked(QAbstractButton *button)
obs_source_t *scene_source =
obs_get_source_by_name(scene_name.c_str());
OBSBasic::Get()->SetCurrentScene(source, true);
OBSBasic::Get()->SetCurrentScene(scene_source, true);
obs_source_release(scene_source);