From 94d079127190dce83b5160f2051109f8d7a87512 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kaj=20Gr=C3=B6nholm?= Date: Tue, 17 Sep 2019 09:02:30 +0300 Subject: Fix animation tool tip text MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Task-number: QT3DS-3948 Change-Id: I2f0cd45510231918f4dead5b4121d7fa1b3157b9 Reviewed-by: Tomi Korpipää --- src/Authoring/Qt3DStudio/Palettes/Inspector/InspectorControlView.qml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 } } -- cgit v1.2.3