[vlc-devel] [PATCH 16/17] qml: emit signal itemDoubleClicked for items in KeyNavigableTableView

Prince Gupta guptaprince8832 at gmail.com
Fri Jun 19 16:06:29 CEST 2020


---
 modules/gui/qt/widgets/qml/KeyNavigableTableView.qml | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/modules/gui/qt/widgets/qml/KeyNavigableTableView.qml b/modules/gui/qt/widgets/qml/KeyNavigableTableView.qml
index ac134dd84f..089a97dc23 100644
--- a/modules/gui/qt/widgets/qml/KeyNavigableTableView.qml
+++ b/modules/gui/qt/widgets/qml/KeyNavigableTableView.qml
@@ -32,6 +32,7 @@ NavigableFocusScope {
     signal actionForSelection( var selection )
     signal contextMenuButtonClicked(Item menuParent, var menuModel)
     signal rightClick(Item menuParent, var menuModel)
+    signal itemDoubleClicked(var model)
 
     property var sortModel: []
     property Component colDelegate: Widgets.ListLabel {
@@ -218,6 +219,7 @@ NavigableFocusScope {
 
                 onDoubleClicked: {
                     actionForSelection(selectionModel.selectedIndexes)
+                    root.itemDoubleClicked(model)
                 }
 
                 Rectangle {
-- 
2.25.1



More information about the vlc-devel mailing list