mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-06 14:37:29 -06:00
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:
parent
e541eedde9
commit
482d21c642
1 changed files with 6 additions and 0 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue