fix for clicking on Invite Friends resulting in disabling popups
parent
57c1845e2d
commit
8e09bcd703
|
|
@ -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)
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in New Issue