Просмотр исходного кода

UI: Update context bar when using undo/redo

The context bar wouldn't update when using undo and redo.
Clayton Groeneveld 4 лет назад
Родитель
Сommit
bb0dff60ab
1 измененных файлов с 2 добавлено и 0 удалено
  1. 2 0
      UI/window-basic-main-transitions.cpp

+ 2 - 0
UI/window-basic-main-transitions.cpp

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