Index: sources/gui/qml/SDItem.qml =================================================================== diff -u -r7077e38c74db9cccb5496ffefcf8936c0916de76 -r61f16c988a159401c92730b4cbfca5085c77222f --- sources/gui/qml/SDItem.qml (.../SDItem.qml) (revision 7077e38c74db9cccb5496ffefcf8936c0916de76) +++ sources/gui/qml/SDItem.qml (.../SDItem.qml) (revision 61f16c988a159401c92730b4cbfca5085c77222f) @@ -30,6 +30,7 @@ */ Rectangle { id: _root // TEST : SD-Card not present may need to be handled with better indication(s). + signal clicked signal doubleClicked color : Colors.transparent @@ -59,8 +60,9 @@ color : ! _GuiView.sdIsReady ? "red" : _GuiView.sdIsReadOnly ? "gray" : _GuiView.sdIsLow ? Colors.red : "green" } - MouseArea { - anchors.fill: parent - onDoubleClicked: _root.doubleClicked() + MouseArea { id: _mouseArea + anchors.fill : parent + onClicked : _root.clicked() + onDoubleClicked : _root.doubleClicked() } }