summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMegidd Git <megiddgit@gmail.com>2018-07-14 15:06:43 +0430
committerOswald Buddenhagen <oswald.buddenhagen@qt.io>2018-08-07 17:18:14 +0000
commit9f4d089f5d2868c79242c76b8f29c8834f304887 (patch)
treeb44bc9699d8fb8f988ee8819c4eade4adcae0ad3
parent00b01d064c981e872a1a9eadfc43e5a83e92220a (diff)
Fix 'redo' tooltip on the tool barHEADmaster
The tool tip of the redo button is fixed by replacing the copy-&-pasted "undoText" identifier with "redoText". Change-Id: I34325ad700b9b88fb01111272664c368903a0ba7 Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@qt.io> Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
-rw-r--r--editorlib/qml/EditorToolbar.qml2
1 files changed, 1 insertions, 1 deletions
diff --git a/editorlib/qml/EditorToolbar.qml b/editorlib/qml/EditorToolbar.qml
index eccf5f4..1524d22 100644
--- a/editorlib/qml/EditorToolbar.qml
+++ b/editorlib/qml/EditorToolbar.qml
@@ -107,7 +107,7 @@ Item {
ToolbarButton {
enabledIconSource: "images/redo.png"
disabledIconSource: "images/redo_disabled.png"
- tooltip: (editorScene.undoHandler.undoText === "" || !buttonEnabled)
+ tooltip: (editorScene.undoHandler.redoText === "" || !buttonEnabled)
? qsTr ("Redo") + editorScene.emptyString
: qsTr ("Redo '%1'").arg(editorScene.undoHandler.redoText)
+ editorScene.emptyString