diff options
author | Merov Linden <merov@lindenlab.com> | 2010-11-01 17:34:45 -0700 |
---|---|---|
committer | Merov Linden <merov@lindenlab.com> | 2010-11-01 17:34:45 -0700 |
commit | 44f6b6ea47e843e10bcc3ce94f2c1aaa8f7f24fb (patch) | |
tree | 5162371edb4dc450dc912af4c450579168c5c272 /indra/newview/llhints.cpp | |
parent | 0640f65276ed3ed6a444f4a4dc016d030bc3d31a (diff) | |
parent | a549d81849aca9e2dbdc375f696b3a3416b68a64 (diff) |
merge from viewer-beta
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();} } |