From 345d5d99b3debf77a819a41450f67155044b9c49 Mon Sep 17 00:00:00 2001 From: Inusaito Sayori Date: Thu, 2 Oct 2014 01:30:56 -0400 Subject: [PATCH] Woops, that logic is backwards. --- indra/newview/lldroptarget.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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)