diff --git a/src/dde-control-center/plugin/SecondPage.qml b/src/dde-control-center/plugin/SecondPage.qml index 23cdf61b3e..30bc402235 100644 --- a/src/dde-control-center/plugin/SecondPage.qml +++ b/src/dde-control-center/plugin/SecondPage.qml @@ -300,7 +300,8 @@ Item { rightView.replace(mainView, { "dccObj": activeObj }, DccApp.animationMode === DccApp.AnimationPush ? StackView.PushTransition : StackView.PopTransition) - if (activeObj.name !== "system") { + var rootFirstItem = DccApp.root.children.length > 0 ? DccApp.root.children[0] : null + if (activeObj !== rootFirstItem) { list.forceActiveFocus() } }