From 6374eee7b45e4065b1a95c26674b8f27dd954eeb Mon Sep 17 00:00:00 2001 From: Jack Ha Date: Thu, 7 Jul 2016 16:55:56 +0200 Subject: [PATCH] Fix LayerView cursor issue. CURA-1381 --- plugins/LayerView/LayerView.qml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/LayerView/LayerView.qml b/plugins/LayerView/LayerView.qml index 4779d74720..a7e9a7c67d 100644 --- a/plugins/LayerView/LayerView.qml +++ b/plugins/LayerView/LayerView.qml @@ -69,7 +69,7 @@ Item // Ensure that the cursor is at the first position. On some systems the text isnt fully visible // Seems to have to do something with different dpi densities that QML doesn't quite handle. // Another option would be to increase the size even further, but that gives pretty ugly results. - onTextChanged: cursorPosition = 0 + onEditingFinished: cursorPosition = 0 style: TextFieldStyle { textColor: UM.Theme.getColor("setting_control_text");