From da406151327d97ba76df35ebfd6e9d78b8d09410 Mon Sep 17 00:00:00 2001 From: jp9000 Date: Wed, 29 Aug 2018 16:05:25 -0700 Subject: [PATCH] Revert "UI: Reset sources list manually on first load" This reverts commit fba2ff8b2c16553111eff3deda56e821c2bcb570. --- UI/source-tree.hpp | 1 - UI/window-basic-main.cpp | 1 - 2 files changed, 2 deletions(-) diff --git a/UI/source-tree.hpp b/UI/source-tree.hpp index a586be37d..f77ae9057 100644 --- a/UI/source-tree.hpp +++ b/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);} diff --git a/UI/window-basic-main.cpp b/UI/window-basic-main.cpp index d20b1c3f6..c6b504565 100644 --- a/UI/window-basic-main.cpp +++ b/UI/window-basic-main.cpp @@ -1515,7 +1515,6 @@ void OBSBasic::OBSInit() ProfileScope("OBSBasic::Load"); disableSaving--; Load(savePath); - ui->sources->Reset(); disableSaving++; } #endif