diff options
Diffstat (limited to 'src/Authoring/Studio/Palettes/Slide/SlideView.qml')
-rw-r--r-- | src/Authoring/Studio/Palettes/Slide/SlideView.qml | 16 |
1 files changed, 14 insertions, 2 deletions
diff --git a/src/Authoring/Studio/Palettes/Slide/SlideView.qml b/src/Authoring/Studio/Palettes/Slide/SlideView.qml index 4113c947..93865fa3 100644 --- a/src/Authoring/Studio/Palettes/Slide/SlideView.qml +++ b/src/Authoring/Studio/Palettes/Slide/SlideView.qml @@ -270,8 +270,20 @@ Rectangle { verticalAlignment: Text.AlignVCenter background: Rectangle { color:"#111111" } wrapMode: Text.WordWrap - visible: model.variants !== "" - text: model.variants + visible: model.variants !== undefined && model.variants !== "" + text: model.variants ? model.variants : "" + + MouseArea { + anchors.fill: parent + hoverEnabled: true + onEntered: { + _parentView.showVariantsTooltip( + model.index, mapToGlobal(x + width + 2, y)); + } + onExited : { + _parentView.hideVariantsTooltip(); + } + } } Item { |