mirror of
https://github.com/obsproject/obs-studio.git
synced 2026-01-22 21:28:32 -05:00
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:
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user