From c29f0a978ac436cbc408d80059b541683e93ae85 Mon Sep 17 00:00:00 2001
From: J-P Nurmi <jpnurmi@digia.com>
Date: Thu, 14 Mar 2013 16:21:54 +0100
Subject: [PATCH] TableView: fix key navigation

Change-Id: I126257b71f3995dc7aed5b1cc9b37de77f8abdad
Reviewed-by: Gabriel de Dietrich <gabriel.dedietrich@digia.com>
---
 src/controls/TableView.qml | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/controls/TableView.qml b/src/controls/TableView.qml
index ca5ecb592..7da97ef86 100644
--- a/src/controls/TableView.qml
+++ b/src/controls/TableView.qml
@@ -348,8 +348,8 @@ ScrollView {
         highlightFollowsCurrentItem: true
         model: root.model
 
-        Keys.onUpPressed: root.decrementCurrentIndex()
-        Keys.onDownPressed: root.incrementCurrentIndex()
+        Keys.onUpPressed: root.__decrementCurrentIndex()
+        Keys.onDownPressed: root.__incrementCurrentIndex()
 
         Keys.onPressed: {
             if (event.key === Qt.Key_PageUp) {
-- 
GitLab