Woops, that logic is backwards.

This commit is contained in:
Inusaito Sayori
2014-10-02 01:30:56 -04:00
parent 5c86dfeb6e
commit 345d5d99b3

View File

@@ -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)