summaryrefslogtreecommitdiff
path: root/indra/newview/llhints.cpp
diff options
context:
space:
mode:
authorLoren Shih <seraph@lindenlab.com>2010-11-04 10:32:58 -0400
committerLoren Shih <seraph@lindenlab.com>2010-11-04 10:32:58 -0400
commitc24586756954107218b6a85b480732c46444a02a (patch)
treeba410d561dd5cbe53574c313380c676b16e0db0c /indra/newview/llhints.cpp
parent89f191cd68c54f1d6f46d7d8d4011df180c9de8d (diff)
parent6a9e70053beaa0fb936482f5594137a8bcdf2f1e (diff)
Automated merge up from viewer-development
Diffstat (limited to 'indra/newview/llhints.cpp')
-rw-r--r--indra/newview/llhints.cpp9
1 files changed, 8 insertions, 1 deletions
diff --git a/indra/newview/llhints.cpp b/indra/newview/llhints.cpp
index 7f6df627e0..3f0deb98cd 100644
--- a/indra/newview/llhints.cpp
+++ b/indra/newview/llhints.cpp
@@ -109,7 +109,14 @@ public:
/*virtual*/ BOOL postBuild();
- void onClickClose() { hide(); LLNotifications::instance().cancel(mNotification); }
+ void onClickClose()
+ {
+ if (!mHidden)
+ {
+ hide();
+ LLNotifications::instance().cancel(mNotification);
+ }
+ }
void draw();
void hide() { if(!mHidden) {mHidden = true; mFadeTimer.reset();} }