On a second thought, let's reset mRightsChangeNotificationTriggered in the dialog callback

Tue, 16 Dec 2014 15:45:44 +0100

author
Ansariel
date
Tue, 16 Dec 2014 15:45:44 +0100
changeset 43083
85cdca1c482e
parent 43082
3e36f166323e
child 43084
ecef7399619e

On a second thought, let's reset mRightsChangeNotificationTriggered in the dialog callback

indra/newview/fsfloatercontacts.cpp file | annotate | diff | revisions
     1.1 --- a/indra/newview/fsfloatercontacts.cpp	Tue Dec 16 15:36:05 2014 +0100
     1.2 +++ b/indra/newview/fsfloatercontacts.cpp	Tue Dec 16 15:45:44 2014 +0100
     1.3 @@ -192,8 +192,6 @@
     1.4  		mDirtyNames = false;
     1.5  	}
     1.6  
     1.7 -	mRightsChangeNotificationTriggered = false;
     1.8 -
     1.9  	LLFloater::draw();
    1.10  }
    1.11  
    1.12 @@ -913,6 +911,8 @@
    1.13  
    1.14  bool FSFloaterContacts::modifyRightsConfirmation(const LLSD& notification, const LLSD& response, rights_map_t* rights)
    1.15  {
    1.16 +	mRightsChangeNotificationTriggered = false;
    1.17 +
    1.18  	S32 option = LLNotificationsUtil::getSelectedOption(notification, response);
    1.19  	if (0 == option)
    1.20  	{

mercurial