diff options
Diffstat (limited to 'examples/quick/views/listview/dynamiclist.qml')
-rw-r--r-- | examples/quick/views/listview/dynamiclist.qml | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/examples/quick/views/listview/dynamiclist.qml b/examples/quick/views/listview/dynamiclist.qml index a3e6026d16..fc09372602 100644 --- a/examples/quick/views/listview/dynamiclist.qml +++ b/examples/quick/views/listview/dynamiclist.qml @@ -204,7 +204,7 @@ Rectangle { anchors { left: parent.left; bottom: parent.bottom; margins: 20 } spacing: 10 - TextButton { + TextButton { text: "Add an item" onClicked: { fruitModel.append({ @@ -215,8 +215,8 @@ Rectangle { } } - TextButton { - text: "Remove all items" + TextButton { + text: "Remove all items" onClicked: fruitModel.clear() } } |