From 4a110d27db60dc7c065b8d7b6a5569281838888f Mon Sep 17 00:00:00 2001 From: Jacek Antonelli Date: Sat, 22 Nov 2008 02:44:13 -0600 Subject: Combobox widget now supports separators in XUI. --- linden/indra/llui/llcombobox.cpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'linden/indra') diff --git a/linden/indra/llui/llcombobox.cpp b/linden/indra/llui/llcombobox.cpp index 9a2e13b..cb9dd4e 100644 --- a/linden/indra/llui/llcombobox.cpp +++ b/linden/indra/llui/llcombobox.cpp @@ -194,6 +194,11 @@ LLView* LLComboBox::fromXML(LLXMLNodePtr node, LLView *parent, LLUICtrlFactory * combo_box->add(label, LLSD(value) ); } + + else if (child->hasName("separator")) + { + combo_box->addSeparator(); + } } } -- cgit v1.1