1. simon_linden
  2. viewer-rabbit

Commits

Richard Linden  committed 996a205

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

  • Participants
  • Parent commits f1a71b1
  • Branches default

Comments (0)

Files changed (1)

File indra/newview/llhints.cpp

View file
 
 	/*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();} }