UI: Remove redundant code

The UpdateSceneSelection function was doing the same thing as the
code in the SetCurrentScene function.
This commit is contained in:
Clayton Groeneveld 2021-03-07 05:24:10 -06:00 • committed by Jim
commit 753de748e5
3 changed files with 2 additions and 37 deletions

View file

@ -752,8 +752,6 @@ void OBSBasic::SetCurrentScene(OBSSource scene, bool force)
}
}
UpdateSceneSelection(scene);
if (scene) {
bool userSwitched = (!force && !disableSaving);
blog(LOG_INFO, "%s to scene '%s'",