Fixed a crash when switching to another scene after switching to another scene collection

This commit is contained in:
Palakis 2017-03-02 15:36:48 +01:00
parent d4c2c8197a
commit 1e71bfa151

View File

@ -264,6 +264,15 @@ void WSEvents::OnSceneListChange()
void WSEvents::OnSceneCollectionChange()
{
broadcastUpdate("SceneCollectionChanged");
scene_handler = nullptr;
transition_handler = nullptr;
OnTransitionListChange();
OnTransitionChange();
OnSceneListChange();
OnSceneChange();
}
void WSEvents::OnSceneCollectionListChange()