Selaa lähdekoodia

UI: Fix context bar not updating on delete

This fixes a bug where the source context bar wouldn't update
when a scene item is deleted.
cg2121 1 vuosi sitten
vanhempi
sitoutus
5a27d93cfa
1 muutettua tiedostoa jossa 2 lisäystä ja 0 poistoa
  1. 2 0
      UI/source-tree.cpp

+ 2 - 0
UI/source-tree.cpp

@@ -839,6 +839,8 @@ void SourceTreeModel::Remove(obs_sceneitem_t *item)
 
 	if (is_group)
 		UpdateGroupState(true);
+
+	OBSBasic::Get()->UpdateContextBarDeferred();
 }
 
 OBSSceneItem SourceTreeModel::Get(int idx)