diff options
author | c.lamboo <casperlamboo@gmail.com> | 2022-05-11 18:23:54 +0300 |
---|---|---|
committer | c.lamboo <casperlamboo@gmail.com> | 2022-05-11 18:23:54 +0300 |
commit | 482d21c6422bdcbc0e345ee9583f0eef5140a86e (patch) | |
tree | ecd7fb34a7af4896b9cf1acd02024e038f907f91 | |
parent | e541eedde9a7387668fcc9d43efd3034ac2c31ae (diff) |
Fix for tooltipCURA-9216_ToolTip
Problem was that the mouse events were not properly propagated to the underlying mouse area. Fixed by placing the MouseArea on top of the content (instead of under) and allowing the mouse events to propagate through the mouse area.
CURA-9219
-rw-r--r-- | resources/qml/TableView.qml | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/resources/qml/TableView.qml b/resources/qml/TableView.qml index 444d310511..7da2341908 100644 --- a/resources/qml/TableView.qml +++ b/resources/qml/TableView.qml @@ -171,6 +171,12 @@ Item acceptedButtons: Qt.LeftButton text: (cellTextMetrics.elidedText == cellContent.text) ? "" : cellContent.text //Show full text in tooltip if it was elided. + } + + MouseArea + { + anchors.fill: parent + propagateComposedEvents: true onClicked: { if(tableBase.allowSelection) |