Add "Rename" entry to scenes context menu
This commit is contained in:
parent
55d2af0e60
commit
9465a8c437
@ -1581,10 +1581,14 @@ void OBSBasic::on_scenes_customContextMenuRequested(const QPoint &pos)
|
||||
popup.addAction(QTStr("Add"),
|
||||
this, SLOT(on_actionAddScene_triggered()));
|
||||
|
||||
if (item)
|
||||
if (item) {
|
||||
popup.addSeparator();
|
||||
popup.addAction(QTStr("Rename"),
|
||||
this, SLOT(EditSceneName()));
|
||||
popup.addAction(QTStr("Remove"),
|
||||
this, SLOT(RemoveSelectedScene()),
|
||||
DeleteKeys.front());
|
||||
}
|
||||
|
||||
popup.exec(QCursor::pos());
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user