diff --git a/indra/newview/lldroptarget.cpp b/indra/newview/lldroptarget.cpp index 15216fcfd..f41d0681a 100644 --- a/indra/newview/lldroptarget.cpp +++ b/indra/newview/lldroptarget.cpp @@ -156,7 +156,7 @@ void LLDropTarget::setControlName(const std::string& control_name, LLView* conte return; // This DropTarget never changes text, it isn't tied to a control } - bool none(false); + bool none(true); std::string text; if (LLStartUp::getStartupState() != STATE_STARTED) // Too early for PerAccount { @@ -185,7 +185,7 @@ void LLDropTarget::setControlName(const std::string& control_name, LLView* conte mConnection.disconnect(); mText->setText(text); - if (mReset) mReset->setVisible(none); + if (mReset) mReset->setVisible(!none); } void LLDropTarget::setChildRects(LLRect rect)