fix for clicking on Invite Friends resulting in disabling popups

meow-7.2.2
Richard Linden 2010-09-17 17:28:22 -07:00
parent 57c1845e2d
commit 8e09bcd703
1 changed files with 3 additions and 2 deletions

View File

@ -618,8 +618,7 @@ void LLNotification::respond(const LLSD& response)
if (mForm->getIgnoreType() != LLNotificationForm::IGNORE_NO)
{
bool show_notification = !mIgnored;
mForm->setIgnored(!show_notification);
mForm->setIgnored(mIgnored);
if (mIgnored && mForm->getIgnoreType() == LLNotificationForm::IGNORE_WITH_LAST_RESPONSE)
{
LLUI::sSettingGroups["ignores"]->setLLSD("Default" + getName(), response);
@ -745,6 +744,8 @@ void LLNotification::init(const std::string& template_name, const LLSD& form_ele
// apply substitution to form labels
mForm->formatElements(mSubstitutions);
mIgnored = mForm->getIgnored();
LLDate rightnow = LLDate::now();
if (mTemplatep->mExpireSeconds)
{