UI: Add new scene at current row
Instead of having a new scene at the bottom of the list, have it added after the current item.
This commit is contained in:
parent
5569139c43
commit
5e198db647
1 changed files with 1 additions and 1 deletions
|
|
@ -3130,7 +3130,7 @@ void OBSBasic::AddScene(OBSSource source)
|
|||
|
||||
QListWidgetItem *item = new QListWidgetItem(QT_UTF8(name));
|
||||
SetOBSRef(item, OBSScene(scene));
|
||||
ui->scenes->addItem(item);
|
||||
ui->scenes->insertItem(ui->scenes->currentRow() + 1, item);
|
||||
|
||||
obs_hotkey_register_source(
|
||||
source, "OBSBasic.SelectScene",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue