From 1b704efb17a2278588146760d189daaffe56d35d Mon Sep 17 00:00:00 2001 From: dolphin Date: Mon, 12 May 2014 17:03:10 -0700 Subject: Don't bother updating the dirty flag if the profile is not editable. --- indra/newview/llfloaterexperienceprofile.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'indra/newview/llfloaterexperienceprofile.cpp') diff --git a/indra/newview/llfloaterexperienceprofile.cpp b/indra/newview/llfloaterexperienceprofile.cpp index 25433f814c..c14d77a944 100644 --- a/indra/newview/llfloaterexperienceprofile.cpp +++ b/indra/newview/llfloaterexperienceprofile.cpp @@ -647,6 +647,10 @@ void LLFloaterExperienceProfile::onFieldChanged() { updatePackage(); + if(!getChild(BTN_EDIT)->getVisible()) + { + return; + } LLSD::map_const_iterator st = mExperienceDetails.beginMap(); LLSD::map_const_iterator dt = mPackage.beginMap(); -- cgit v1.2.3