Commit cdc219c2 authored by Marco Martin's avatar Marco Martin
Browse files

higlight global theme after clicking appearance

we didn't when the category had a library to accomodate the
old behavior of category owner in the title. now
that isn't like that anymore properly highlight the entry

BUG:436305
parent 64dec998
...@@ -502,11 +502,7 @@ void SidebarMode::loadModule(const QModelIndex &activeModule, const QStringList ...@@ -502,11 +502,7 @@ void SidebarMode::loadModule(const QModelIndex &activeModule, const QStringList
d->activeCategoryIndex = activeModule; d->activeCategoryIndex = activeModule;
d->activeCategoryRow = newCategoryRow; d->activeCategoryRow = newCategoryRow;
if (mi->item().library().isEmpty()) { d->activeSubCategoryRow = 0;
d->activeSubCategoryRow = 0;
} else {
d->activeSubCategoryRow = -1;
}
d->subCategoryModel->setParentIndex(activeModule); d->subCategoryModel->setParentIndex(activeModule);
......
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