diff options
| -rw-r--r-- | indra/llui/llfloater.cpp | 2 | 
1 files changed, 2 insertions, 0 deletions
diff --git a/indra/llui/llfloater.cpp b/indra/llui/llfloater.cpp index 2303cd24b7..c67db54ea6 100644 --- a/indra/llui/llfloater.cpp +++ b/indra/llui/llfloater.cpp @@ -1772,6 +1772,8 @@ void LLFloater::onClickTearOff(LLFloater* self)  		{  			if (self->mSaveRect)  			{ +                LLRect screen_rect = self->calcScreenRect(); +                self->mPosition = LLCoordGL(screen_rect.getCenterX(), screen_rect.getCenterY()).convert();  				self->storeRectControl();  			}  			self->setMinimized(FALSE); // to reenable minimize button if it was minimized  | 
