Commit 40b71c08 authored by Nicolas Fella's avatar Nicolas Fella
Browse files

Fix current index in subcategory list

We bind currentIndex to activeSubCategoryRow, but when clicking on an item this binding is broken

Manually set the current index when the backend index changes

BUG: 453543

Fixed-In: 5.24.6
parent 8e9a03f5
Pipeline #175356 passed with stage
in 1 minute and 33 seconds
......@@ -138,6 +138,7 @@ Kirigami.ScrollablePage {
Connections {
target: systemsettings
function onActiveSubCategoryRowChanged() {
subCategoryView.currentIndex = systemsettings.activeSubCategoryRow
if (systemsettings.activeSubCategoryRow >= 0) {
if (subCategoryView.count > 1) {
root.pageStack.push(subCategoryColumn);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment