Fix for 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
This commit is contained in:
c.lamboo 2022-05-11 17:23:54 +02:00
parent e541eedde9
commit 482d21c642

View file

@ -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)