mirror of
https://github.com/obsproject/obs-studio.git
synced 2026-10-29 19:15:50 +08:00
Add "Rename" entry to scenes context menu
This commit is contained in:
@@ -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());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user