From 647e265b0e65ab59074d3f766423aff6ddad5a30 Mon Sep 17 00:00:00 2001 From: Marco Martin Date: Thu, 7 Mar 2013 12:47:34 +0100 Subject: [PATCH] highlight current item --- .../components/ConfigurationContainmentAppearance.qml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/shell/qmlpackages/desktop/contents/components/ConfigurationContainmentAppearance.qml b/src/shell/qmlpackages/desktop/contents/components/ConfigurationContainmentAppearance.qml index fb3c5a541..f4cb0e8c2 100644 --- a/src/shell/qmlpackages/desktop/contents/components/ConfigurationContainmentAppearance.qml +++ b/src/shell/qmlpackages/desktop/contents/components/ConfigurationContainmentAppearance.qml @@ -73,6 +73,14 @@ Column { root.restoreConfig() } } + onCurrentChanged: { + if (current) { + categoriesView.currentIndex = index + } + } + } + highlight: Rectangle { + color: theme.highlightColor } } PlasmaComponents.PageStack {