From 235693f134007c250bacb0162da46dd791970a33 Mon Sep 17 00:00:00 2001 From: Inusaito Sayori Date: Tue, 12 May 2015 09:13:44 -0400 Subject: [PATCH] You're all so special. --- indra/newview/llfloaterurldisplay.cpp | 2 +- indra/newview/llnotify.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/indra/newview/llfloaterurldisplay.cpp b/indra/newview/llfloaterurldisplay.cpp index c265c6169..514f1f758 100644 --- a/indra/newview/llfloaterurldisplay.cpp +++ b/indra/newview/llfloaterurldisplay.cpp @@ -48,7 +48,7 @@ LLFloaterURLDisplay::LLFloaterURLDisplay(const LLSD& sd) { mFactoryMap["place_details_panel"] = LLCallbackMap(LLFloaterURLDisplay::createPlaceDetail, this); LLUICtrlFactory::getInstance()->buildFloater(this, "floater_preview_url.xml", &getFactoryMap()); - this->setVisible(false); + setVisible(false); // If positioned at 0,0 the teleport button is behind the toolbar. LLRect r = getRect(); diff --git a/indra/newview/llnotify.cpp b/indra/newview/llnotify.cpp index 9cbafafd2..81ac127cf 100644 --- a/indra/newview/llnotify.cpp +++ b/indra/newview/llnotify.cpp @@ -533,6 +533,7 @@ void LLNotifyBox::close() die(); if (not_tip) { + --sNotifyBoxCount; if (LLNotifyBox* front = gNotifyBoxView->getFirstNontipBox()) { gNotifyBoxView->showOnly(front); @@ -541,7 +542,6 @@ void LLNotifyBox::close() view->setFocus(true); gFocusMgr.triggerFocusFlash(); // TODO it's ugly to call this here } - --sNotifyBoxCount; } }