diff options
| author | Mark Palange (Mani) <palange@lindenlab.com> | 2010-06-01 18:42:27 -0700 | 
|---|---|---|
| committer | Mark Palange (Mani) <palange@lindenlab.com> | 2010-06-01 18:42:27 -0700 | 
| commit | ebee0b30eb8bd2cce773ed5e2f70aa21afeb2924 (patch) | |
| tree | 2ca64c56c047ebf621e20b61108e78cac73b4756 /indra/newview/lllocationinputctrl.cpp | |
| parent | 7bf5e5c6189a7316b7d1dbcb749c0feb8564c3e5 (diff) | |
| parent | 6886bd65ddaa07f6fb22e243995964084acce998 (diff) | |
merge
Diffstat (limited to 'indra/newview/lllocationinputctrl.cpp')
| -rw-r--r-- | indra/newview/lllocationinputctrl.cpp | 9 | 
1 files changed, 5 insertions, 4 deletions
diff --git a/indra/newview/lllocationinputctrl.cpp b/indra/newview/lllocationinputctrl.cpp index 7abb4f4f16..53a11eff04 100644 --- a/indra/newview/lllocationinputctrl.cpp +++ b/indra/newview/lllocationinputctrl.cpp @@ -683,9 +683,8 @@ void LLLocationInputCtrl::onLocationPrearrange(const LLSD& data)  				value["item_type"] = TELEPORT_HISTORY;  				value["global_pos"] = result->mGlobalPos.getValue();  				std::string region_name = result->mTitle.substr(0, result->mTitle.find(',')); -				//TODO*: add slurl to teleportitem or parse region name from title -				value["tooltip"] = LLSLURL::buildSLURLfromPosGlobal(region_name, -						result->mGlobalPos,	false); +				//TODO*: add Surl to teleportitem or parse region name from title +				value["tooltip"] = LLSLURL(region_name, result->mGlobalPos).getSLURLString();  				add(result->getTitle(), value);   			}  			result = std::find_if(result + 1, th_items.end(), boost::bind( @@ -1043,7 +1042,9 @@ void LLLocationInputCtrl::changeLocationPresentation()  	if(!mTextEntry->hasSelection() && text == mHumanReadableLocation)  	{  		//needs unescaped one -		mTextEntry->setText(LLAgentUI::buildSLURL(false)); +		LLSLURL slurl; +		LLAgentUI::buildSLURL(slurl, false); +		mTextEntry->setText(slurl.getSLURLString());  		mTextEntry->selectAll();  		mMaturityButton->setVisible(FALSE);  | 
