diff options
| author | Richard Linden <none@none> | 2010-02-17 22:22:14 -0800 |
|---|---|---|
| committer | Richard Linden <none@none> | 2010-02-17 22:22:14 -0800 |
| commit | b1dd2f3099d9bfd03d2f1e7928beefd5e8716ae0 (patch) | |
| tree | 8b2fd3f3a5c3de332e7fe833981d2c9608836fe0 | |
| parent | f6079c93820f354401e5431a9fcfd006859f9e21 (diff) | |
EXT-5515 - Allow resizing on left and lower left of nearby media popup
| -rw-r--r-- | indra/llui/llresizehandle.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/indra/llui/llresizehandle.cpp b/indra/llui/llresizehandle.cpp index 3df09d124a..367666efbd 100644 --- a/indra/llui/llresizehandle.cpp +++ b/indra/llui/llresizehandle.cpp @@ -136,9 +136,10 @@ BOOL LLResizeHandle::handleHover(S32 x, S32 y, MASK mask) if( resizing_view ) { // undock floater when user resize it - if (((LLFloater*)getParent())->isDocked()) + LLFloater* floater_parent = dynamic_cast<LLFloater*>(getParent()); + if (floater_parent && floater_parent->isDocked()) { - ((LLFloater*)getParent())->setDocked(false, false); + floater_parent->setDocked(false, false); } // Resize the parent |
