Skip to content
Snippets Groups Projects
Commit 95c99891 authored by Richard Linden's avatar Richard Linden
Browse files

VWR-23444 FIXED Double clicking x on UI hint crashes Skylight Viewer

parent 8297c278
No related branches found
No related tags found
No related merge requests found
...@@ -109,7 +109,14 @@ class LLHintPopup : public LLPanel ...@@ -109,7 +109,14 @@ class LLHintPopup : public LLPanel
/*virtual*/ BOOL postBuild(); /*virtual*/ BOOL postBuild();
void onClickClose() { hide(); LLNotifications::instance().cancel(mNotification); } void onClickClose()
{
if (!mHidden)
{
hide();
LLNotifications::instance().cancel(mNotification);
}
}
void draw(); void draw();
void hide() { if(!mHidden) {mHidden = true; mFadeTimer.reset();} } void hide() { if(!mHidden) {mHidden = true; mFadeTimer.reset();} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment