aboutsummaryrefslogtreecommitdiffstats
path: root/examples/quick/demos/calqlatr/content/Display.qml
diff options
context:
space:
mode:
Diffstat (limited to 'examples/quick/demos/calqlatr/content/Display.qml')
-rw-r--r--examples/quick/demos/calqlatr/content/Display.qml2
1 files changed, 2 insertions, 0 deletions
diff --git a/examples/quick/demos/calqlatr/content/Display.qml b/examples/quick/demos/calqlatr/content/Display.qml
index ec8edfea66..97eed1e57e 100644
--- a/examples/quick/demos/calqlatr/content/Display.qml
+++ b/examples/quick/demos/calqlatr/content/Display.qml
@@ -48,6 +48,7 @@ Item {
{
listView.model.append({ "operator": operator, "operand": "" })
enteringDigits = true
+ listView.positionViewAtEnd()
}
function newLine(operator, operand)
@@ -64,6 +65,7 @@ Item {
var i = listView.model.count - 1;
listView.model.get(i).operand = listView.model.get(i).operand + digit;
enteringDigits = true
+ listView.positionViewAtEnd()
}
function clear()