Browse Source

Revert "UI: Reset sources list manually on first load"

This reverts commit fba2ff8b2c16553111eff3deda56e821c2bcb570.
jp9000 7 years ago
parent
commit
da40615132
2 changed files with 0 additions and 2 deletions
  1. 0 1
      UI/source-tree.hpp
  2. 0 1
      UI/window-basic-main.cpp

+ 0 - 1
UI/source-tree.hpp

@@ -149,7 +149,6 @@ public:
 	explicit SourceTree(QWidget *parent = nullptr);
 
 	inline bool IgnoreReorder() const {return ignoreReorder;}
-	inline void Reset() {GetStm()->SceneChanged();}
 	inline void Clear() {GetStm()->Clear();}
 
 	inline void Add(obs_sceneitem_t *item) {GetStm()->Add(item);}

+ 0 - 1
UI/window-basic-main.cpp

@@ -1515,7 +1515,6 @@ void OBSBasic::OBSInit()
 		ProfileScope("OBSBasic::Load");
 		disableSaving--;
 		Load(savePath);
-		ui->sources->Reset();
 		disableSaving++;
 	}
 #endif