From 9465a8c43727bb143d6a24a65932106dc4fc5290 Mon Sep 17 00:00:00 2001 From: Palana Date: Wed, 15 Oct 2014 22:04:31 +0200 Subject: [PATCH] Add "Rename" entry to scenes context menu --- obs/window-basic-main.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/obs/window-basic-main.cpp b/obs/window-basic-main.cpp index faa7723a9..f6dc92a83 100644 --- a/obs/window-basic-main.cpp +++ b/obs/window-basic-main.cpp @@ -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()); }