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:
parent
c370692773
commit
7dfd36f9e8
8 changed files with 17 additions and 17 deletions
|
|
@ -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);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue