mirror of
https://github.com/obsproject/obs-studio.git
synced 2026-04-10 17:50:28 -04:00
UI: Force current scene when using undo/redo
The undo/redo functions are setting the current scene. Everytime it would do this, it would actually transition to the scene. This forces the current scene, so it fixes a bug where the transition would be grayed out when undoing/redoing.
This commit is contained in:
@@ -375,7 +375,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);
|
||||
OBSBasic::Get()->SetCurrentScene(source, true);
|
||||
|
||||
obs_source_release(scene_source);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user