UI: Ensure only one source is selected on startup

master
Palana 2015-06-28 04:29:26 +02:00
parent e1f0ac0bd0
commit 9672aa0cb9
1 changed files with 1 additions and 1 deletions

View File

@ -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);