mirror of
https://github.com/obsproject/obs-studio.git
synced 2026-02-02 02:22:13 -05:00
RemoveScene would always remove the currently selected item from the scenes list, even if that item didn't reference the actual scene being removed; finding the proper item via its OBSRef fixes this issue. How to reproduce the original issue: Create two scenes "a" and "b", set a hotkey for switching to scene "a", select scene "b" and press the remove scene button, then while the confirmation dialog is up press the hotkey while the UI is out of focus. The active scene should have switched to "a", while the dialog still displays "b" as its target; now confirm the removal of "b". Note how "a" was removed from the scenes list instead. Reported at https://obsproject.com/mantis/view.php?id=333
96 KiB
96 KiB