UI: Ensure only one source is selected on startup
parent
e1f0ac0bd0
commit
9672aa0cb9
|
@ -1029,7 +1029,7 @@ void OBSBasic::InsertSceneItem(obs_sceneitem_t *item)
|
|||
SetOBSRef(listItem, OBSSceneItem(item));
|
||||
|
||||
ui->sources->insertItem(0, listItem);
|
||||
ui->sources->setCurrentRow(0);
|
||||
ui->sources->setCurrentRow(0, QItemSelectionModel::ClearAndSelect);
|
||||
|
||||
SetupVisibilityItem(ui->sources, listItem, item);
|
||||
|
||||
|
|
Loading…
Reference in New Issue