summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKaj Grönholm <kaj.gronholm@qt.io>2019-09-17 09:02:30 +0300
committerKaj Grönholm <kaj.gronholm@qt.io>2019-09-17 09:13:16 +0300
commit94d079127190dce83b5160f2051109f8d7a87512 (patch)
treedb6343103a9807036664a689cae55e8a96225ed0
parentf15529cc7d34a32563b5b4c2d3525e9416870f0f (diff)
Fix animation tool tip text
Task-number: QT3DS-3948 Change-Id: I2f0cd45510231918f4dead5b4121d7fa1b3157b9 Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io>
-rw-r--r--src/Authoring/Qt3DStudio/Palettes/Inspector/InspectorControlView.qml4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/Authoring/Qt3DStudio/Palettes/Inspector/InspectorControlView.qml b/src/Authoring/Qt3DStudio/Palettes/Inspector/InspectorControlView.qml
index 7e7af556..d6e89ba3 100644
--- a/src/Authoring/Qt3DStudio/Palettes/Inspector/InspectorControlView.qml
+++ b/src/Authoring/Qt3DStudio/Palettes/Inspector/InspectorControlView.qml
@@ -334,7 +334,9 @@ Rectangle {
}
}
StyledTooltip {
- text: qsTr("Enable animation")
+ text: model.modelData.animated
+ ? qsTr("Disable animation")
+ : qsTr("Enable animation")
enabled: animateButtonMouseArea.containsMouse
}
}