Palana 80b20abde2 UI: Fix removing wrong scene from list
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
2015-09-24 10:11:49 +02:00
..
2015-09-22 23:33:29 -04:00
2014-08-05 21:15:31 +02:00
2015-09-21 19:31:08 -07:00
2015-01-03 02:37:21 -08:00
2015-01-03 02:37:21 -08:00
2015-08-12 15:30:28 +02:00
2015-04-10 07:27:37 -07:00
2015-05-24 16:20:12 -07:00
2015-05-24 16:20:12 -07:00
2015-05-11 20:45:27 +02:00
2015-05-11 20:45:27 +02:00
2015-09-21 19:31:08 -07:00
2015-07-03 18:35:30 -07:00