diff options
Diffstat (limited to 'linden/indra/llui/lllineeditor.cpp')
-rw-r--r-- | linden/indra/llui/lllineeditor.cpp | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/linden/indra/llui/lllineeditor.cpp b/linden/indra/llui/lllineeditor.cpp index c4f9525..5f16853 100644 --- a/linden/indra/llui/lllineeditor.cpp +++ b/linden/indra/llui/lllineeditor.cpp | |||
@@ -223,18 +223,15 @@ LLLineEditor::LLLineEditor(const std::string& name, const LLRect& rect, | |||
223 | } | 223 | } |
224 | mImage = sImage; | 224 | mImage = sImage; |
225 | 225 | ||
226 | |||
227 | LLMenuGL* menu = LLUICtrlFactory::getInstance()->buildMenu("menu_rightclick_text.xml",this); | 226 | LLMenuGL* menu = LLUICtrlFactory::getInstance()->buildMenu("menu_rightclick_text.xml",this); |
228 | if (!menu) | 227 | if (!menu) |
229 | { | 228 | { |
230 | menu = new LLMenuGL(LLStringUtil::null); | 229 | menu = new LLMenuGL(LLStringUtil::null); |
231 | } | 230 | } |
232 | 231 | ||
233 | defineMenuCallbacks(menu); | 232 | defineMenuCallbacks(menu); |
234 | mPopupMenuHandle = menu->getHandle(); | 233 | mPopupMenuHandle = menu->getHandle(); |
235 | menu->setBorderColor(gColors.getColor("MenuItemDisabledColor")); | ||
236 | menu->setBackgroundColor(gColors.getColor("MenuPopupBgColor")); | 234 | menu->setBackgroundColor(gColors.getColor("MenuPopupBgColor")); |
237 | |||
238 | } | 235 | } |
239 | 236 | ||
240 | 237 | ||