Kaydet (Commit) 11fab6b7 authored tarafından Caolán McNamara's avatar Caolán McNamara

style category listbox depends on being unsorted

regression from

commit 6ecfbf15
Author: Caolán McNamara <caolanm@redhat.com>
Date:   Wed Mar 13 15:10:25 2013 +0000

    drop unused resources and toggle label to activate replacement widget

Change-Id: I65ca8ec58ed984120f3c2e7ba68507cbf8acf089
üst 2223ff6c
...@@ -67,7 +67,9 @@ SfxManageStyleSheetPage::SfxManageStyleSheetPage(Window* pParent, const SfxItemS ...@@ -67,7 +67,9 @@ SfxManageStyleSheetPage::SfxManageStyleSheetPage(Window* pParent, const SfxItemS
m_pBaseLb->setMaxWidthChars(nMaxWidth); m_pBaseLb->setMaxWidthChars(nMaxWidth);
get(m_pFilterFt, "categoryft"); get(m_pFilterFt, "categoryft");
get(m_pFilterLb, "category"); get(m_pFilterLb, "category");
m_pFilterLb->SetStyle(m_pFilterLb->GetStyle() | WB_SORT); //note that the code depends on categories not being lexically
//sorted, so if its changed to sorted, the code needs to
//be adapted to be position unaware
m_pFilterLb->setMaxWidthChars(nMaxWidth); m_pFilterLb->setMaxWidthChars(nMaxWidth);
get(m_pDescFt, "desc"); get(m_pDescFt, "desc");
......
Markdown is supported
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