diff options
author | Merov Linden <merov@lindenlab.com> | 2010-11-04 14:30:32 -0700 |
---|---|---|
committer | Merov Linden <merov@lindenlab.com> | 2010-11-04 14:30:32 -0700 |
commit | f7af29ab40c2405504969a453eba3919be1af5c5 (patch) | |
tree | f31f6d31582e8ff89c769334cb70e1076c887ef7 /indra/newview/llhints.cpp | |
parent | c2500f808cd8e1957054d5ec1b3555e30698c2b3 (diff) | |
parent | 889aff8d87a4dbf3ca43c43bdeed825f67fd5e60 (diff) |
merge with viewer-development
Diffstat (limited to 'indra/newview/llhints.cpp')
-rw-r--r-- | indra/newview/llhints.cpp | 9 |
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();} } |