Fix bug with app crash on exit. Add keyboard support in wordList, DictTypeSelectDialo...
[mdictionary] / src / mdictionary / qml / ElementsListView.qml
index fa53b93..7181055 100644 (file)
@@ -32,20 +32,7 @@ ListView {
     highlightMoveSpeed: 1000
 
     function setFocus() {
-        console.log("juhu2")
         forceActiveFocus()
-//        console.log(focus + " " + activeFocus)
-    }
-
-    Keys.onPressed: {
-        console.log("woooo")
-        if (event.key == Qt.Key_Up && currentIndex < count){
-            currentIndex = currentIndex + 1
-            console.log("woooo222 " + currentIndex)
-        } else if (event.key == Qt.Key_Down && currentIndex > 0){
-            currentIndex = currentIndex - 1
-            console.log("woooo333 " + currentIndex)
-        }
     }
 
 }