diff --git a/windowswitchers/informative/contents/ui/main.qml b/windowswitchers/informative/contents/ui/main.qml --- a/windowswitchers/informative/contents/ui/main.qml +++ b/windowswitchers/informative/contents/ui/main.qml @@ -185,17 +185,18 @@ onCurrentIndexChanged: {listView.currentIndex = tabBox.currentIndex;} } } - } - /* - * Key navigation on outer item for two reasons: - * @li we have to emit the change signal - * @li on multiple invocation it does not work on the list view. Focus seems to be lost. - **/ - Keys.onPressed: { - if (event.key == Qt.Key_Up) { - listView.decrementCurrentIndex(); - } else if (event.key == Qt.Key_Down) { - listView.incrementCurrentIndex(); + + /* + * Key navigation on outer item for two reasons: + * @li we have to emit the change signal + * @li on multiple invocation it does not work on the list view. Focus seems to be lost. + **/ + Keys.onPressed: { + if (event.key == Qt.Key_Up) { + listView.decrementCurrentIndex(); + } else if (event.key == Qt.Key_Down) { + listView.incrementCurrentIndex(); + } } } }