Go through the list view to tell it to expand the super item rather than

setting its expanded property. Doesn't actually fix #6747 but at least corrects
the observed bogus behavior for now until I figure out a proper solution that
isn't hideously inefficient, no thanks to the train wreck that is the API
design we inherited from Be for BOLV.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39144 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Rene Gollent 2010-10-25 16:15:10 +00:00
parent f412257ccb
commit 31a81a2b93

View File

@ -197,7 +197,7 @@ LocaleWindow::LocaleWindow()
&& lastAddedConventionsItem != NULL
&& lastAddedConventionsItem->Code() == item->Code()) {
if (!strcmp(conventionID, defaultConventions.ID())) {
lastAddedConventionsItem->SetExpanded(true);
fConventionsListView->Expand(lastAddedConventionsItem);
fInitialConventionsItem = item;
}
fConventionsListView->AddUnder(item, lastAddedConventionsItem);