diff options
Diffstat (limited to 'linden/indra/llui/lltexteditor.cpp')
-rw-r--r-- | linden/indra/llui/lltexteditor.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/linden/indra/llui/lltexteditor.cpp b/linden/indra/llui/lltexteditor.cpp index 79966c2..de05872 100644 --- a/linden/indra/llui/lltexteditor.cpp +++ b/linden/indra/llui/lltexteditor.cpp | |||
@@ -389,14 +389,12 @@ LLTextEditor::LLTextEditor( | |||
389 | LLMenuGL* menu = LLUICtrlFactory::getInstance()->buildMenu("menu_rightclick_text.xml",this); | 389 | LLMenuGL* menu = LLUICtrlFactory::getInstance()->buildMenu("menu_rightclick_text.xml",this); |
390 | if (!menu) | 390 | if (!menu) |
391 | { | 391 | { |
392 | menu = new LLMenuGL(LLStringUtil::null); | 392 | menu = new LLMenuGL(LLStringUtil::null); |
393 | } | 393 | } |
394 | 394 | ||
395 | defineMenuCallbacks(menu); | 395 | defineMenuCallbacks(menu); |
396 | mPopupMenuHandle = menu->getHandle(); | 396 | mPopupMenuHandle = menu->getHandle(); |
397 | menu->setBorderColor(gColors.getColor("MenuItemDisabledColor")); | ||
398 | menu->setBackgroundColor(gColors.getColor("MenuPopupBgColor")); | 397 | menu->setBackgroundColor(gColors.getColor("MenuPopupBgColor")); |
399 | |||
400 | } | 398 | } |
401 | 399 | ||
402 | LLTextEditor::~LLTextEditor() | 400 | LLTextEditor::~LLTextEditor() |