summaryrefslogtreecommitdiff
path: root/indra/newview/lltexturectrl.cpp
diff options
context:
space:
mode:
authorMnikolenko Productengine <mnikolenko@productengine.com>2016-08-23 18:53:27 +0300
committerMnikolenko Productengine <mnikolenko@productengine.com>2016-08-23 18:53:27 +0300
commitc37b822abff1a77150a334711d8484025e8c1436 (patch)
tree77344e44208ca8536ddc8b1d561b538e1789f202 /indra/newview/lltexturectrl.cpp
parent05e77c5f261f2620519dfc6eda845307849308a7 (diff)
MAINT-6616 new crash in VOB viewer in snapshot preview
Diffstat (limited to 'indra/newview/lltexturectrl.cpp')
-rw-r--r--indra/newview/lltexturectrl.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/lltexturectrl.cpp b/indra/newview/lltexturectrl.cpp
index fd13f60606..ad4f903dff 100644
--- a/indra/newview/lltexturectrl.cpp
+++ b/indra/newview/lltexturectrl.cpp
@@ -306,7 +306,7 @@ BOOL LLFloaterTexturePicker::handleKeyHere(KEY key, MASK mask)
void LLFloaterTexturePicker::onClose(bool app_quitting)
{
- if (mOnFloaterCloseCallback)
+ if (mOwner && mOnFloaterCloseCallback)
{
mOnFloaterCloseCallback();
}