mirror of
https://github.com/obsproject/obs-studio.git
synced 2024-09-20 04:42:18 +02:00
UI: Don't trigger a settings update when list is empty
To avoid recursive call
This commit is contained in:
parent
4bfe291520
commit
4871fd301a
@ -694,7 +694,7 @@ QWidget *OBSPropertiesView::AddList(obs_property_t *prop, bool &warning)
|
||||
children.emplace_back(info);
|
||||
|
||||
/* trigger a settings update if the index was not found */
|
||||
if (idx == -1)
|
||||
if (count && idx == -1)
|
||||
info->ControlChanged();
|
||||
|
||||
return combo;
|
||||
|
Loading…
Reference in New Issue
Block a user