UI: Reset sources list manually on first load
This commit is contained in:
parent
76a050ee04
commit
fba2ff8b2c
@ -149,6 +149,7 @@ 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);}
|
||||
|
@ -1515,6 +1515,7 @@ void OBSBasic::OBSInit()
|
||||
ProfileScope("OBSBasic::Load");
|
||||
disableSaving--;
|
||||
Load(savePath);
|
||||
ui->sources->Reset();
|
||||
disableSaving++;
|
||||
}
|
||||
#endif
|
||||
|
Loading…
x
Reference in New Issue
Block a user