summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sw/source/ui/fldui/fldvar.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/sw/source/ui/fldui/fldvar.cxx b/sw/source/ui/fldui/fldvar.cxx
index 46fd6eb88802..cf3434c42e80 100644
--- a/sw/source/ui/fldui/fldvar.cxx
+++ b/sw/source/ui/fldui/fldvar.cxx
@@ -48,6 +48,7 @@ SwFieldVarPage::SwFieldVarPage(vcl::Window* pParent, const SfxItemSet *const pCo
get(m_pTypeLB, "type");
get(m_pSelection, "selectframe");
get(m_pSelectionLB, "select");
+ m_pSelectionLB->SetStyle(m_pSelectionLB->GetStyle() | WB_SORT);
get(m_pFormat, "formatframe");
get(m_pChapterFrame, "chapterframe");
get(m_pNameFT, "nameft");