فهرست منبع

Add "Remove" shortcut to scenes context menu

Palana 11 سال پیش
والد
کامیت
523baef7f5
1فایلهای تغییر یافته به همراه2 افزوده شده و 1 حذف شده
  1. 2 1
      obs/window-basic-main.cpp

+ 2 - 1
obs/window-basic-main.cpp

@@ -1585,7 +1585,8 @@ void OBSBasic::on_scenes_customContextMenuRequested(const QPoint &pos)
 
 	if (item)
 		popup.addAction(QTStr("Remove"),
-				this, SLOT(RemoveSelectedScene()));
+				this, SLOT(RemoveSelectedScene()),
+				DeleteKeys.front());
 
 	popup.exec(QCursor::pos());
 }