diff --git a/qml/windowed/AppList.qml b/qml/windowed/AppList.qml index 406669fd..af7231b5 100644 --- a/qml/windowed/AppList.qml +++ b/qml/windowed/AppList.qml @@ -50,7 +50,7 @@ ColumnLayout { id: appCategoryListView MouseAreaCom {} - nextKeyTabTargetItem: nextKeyTabTarget + KeyNavigation.tab: nextKeyTabTarget } } diff --git a/qml/windowed/AppListView.qml b/qml/windowed/AppListView.qml index 37603467..c4bdfed5 100644 --- a/qml/windowed/AppListView.qml +++ b/qml/windowed/AppListView.qml @@ -15,7 +15,7 @@ import org.deepin.launchpad.models 1.0 FocusScope { id: root - property Item nextKeyTabTargetItem + property Item keyTabTarget: listView property alias model: listView.model function positionViewAtBeginning() { @@ -244,7 +244,6 @@ FocusScope { ToolTip.delay: 500 ToolTip.visible: hovered && contentItem.implicitWidth > contentItem.width - KeyNavigation.tab: nextKeyTabTargetItem Drag.dragType: Drag.Automatic Drag.mimeData: Helper.generateDragMimeData(model.desktopId, true) Drag.hotSpot.y: height / 2 @@ -324,7 +323,6 @@ FocusScope { id: listView anchors.fill: parent - activeFocusOnTab: true highlightFollowsCurrentItem: true // displayMarginBeginning: -45 clip: true