FIRE-517: dont error on clicking close twice on hints (would close viewer too due to llerrs)

Kadah 2011-04-21 14:53:11 -07:00
parent 107e6a1982
commit 0eb5511950
1 changed files with 1 additions and 1 deletions

View File

@ -112,7 +112,7 @@ 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();} }