diff options
| author | richard <none@none> | 2010-01-11 14:41:37 -0800 | 
|---|---|---|
| committer | richard <none@none> | 2010-01-11 14:41:37 -0800 | 
| commit | 3e5f5a205034cde29ef80a9230d8cd4867e6dec5 (patch) | |
| tree | 36bb18767f3ac5e16fa98a7e8c2b973625645d0c /indra/llui | |
| parent | daa4965fe053dbd1af1f9665b29a4a10ac31cfea (diff) | |
EXT-3444 	Volume control slider appears in an odd location
reviewed by Leyla
Diffstat (limited to 'indra/llui')
| -rw-r--r-- | indra/llui/llfloater.cpp | 8 | 
1 files changed, 5 insertions, 3 deletions
| diff --git a/indra/llui/llfloater.cpp b/indra/llui/llfloater.cpp index 845203b420..a35d279500 100644 --- a/indra/llui/llfloater.cpp +++ b/indra/llui/llfloater.cpp @@ -878,9 +878,11 @@ void LLFloater::setSnappedTo(const LLView* snap_view)  	else  	{  		//RN: assume it's a floater as it must be a sibling to our parent floater -		LLFloater* floaterp = (LLFloater*)snap_view; -		 -		setSnapTarget(floaterp->getHandle()); +		const LLFloater* floaterp = dynamic_cast<const LLFloater*>(snap_view); +		if (floaterp) +		{ +			setSnapTarget(floaterp->getHandle()); +		}  	}  } | 
