提交 9465a8c4 编写于 作者: P Palana

Add "Rename" entry to scenes context menu

上级 55d2af0e
......@@ -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());
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册