Add initializer_list support and set default add dialog window title

This commit is contained in:
WarmUpTill
2026-01-19 19:38:50 +01:00
parent 7ea721f9f1
commit 0a53a8649f
2 changed files with 5 additions and 0 deletions

View File

@@ -58,6 +58,9 @@ StringListEdit::StringListEdit(
_filterCallback(filter),
_preprocessCallback(preprocess)
{
if (_addString.isEmpty()) {
_addString = obs_module_text("AdvSceneSwitcher.windowTitle");
}
}
void StringListEdit::SetStringList(const StringList &list)