mirror of
https://github.com/WarmUpTill/SceneSwitcher.git
synced 2026-03-21 17:34:57 -05:00
Sort scenes alphabetically
Prior to implementing canvas suppor they were in the order they are in the scenes dock. After switching from obs_frontend_get_scene_names() to obs_canvas_enum_scenes() this seems to not always be the case.
This commit is contained in:
parent
8f92ba3ffa
commit
f93175db77
|
|
@ -334,6 +334,7 @@ static QStringList getCanvasScenesList(obs_weak_canvas_t *weakCanvas)
|
|||
|
||||
QStringList list;
|
||||
obs_canvas_enum_scenes(canvas, enumCanvasScenes, &list);
|
||||
list.sort();
|
||||
return list;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user