From 5a4d07f5ab63afc0352ec11d220fe1d5053ee974 Mon Sep 17 00:00:00 2001 From: andreykproductengine Date: Wed, 17 Oct 2018 18:48:25 +0300 Subject: SL-9902 EEP Editors retaining dirty flags when they shouldn't --- indra/newview/llfloaterfixedenvironment.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'indra/newview/llfloaterfixedenvironment.cpp') diff --git a/indra/newview/llfloaterfixedenvironment.cpp b/indra/newview/llfloaterfixedenvironment.cpp index 201c6679b3..ceb68de3c5 100644 --- a/indra/newview/llfloaterfixedenvironment.cpp +++ b/indra/newview/llfloaterfixedenvironment.cpp @@ -309,6 +309,8 @@ void LLFloaterFixedEnvironment::onAssetLoaded(LLUUID asset_id, LLSettingsBase::p return; } + clearDirtyFlag(); + if (!settings || status) { LLSD args; @@ -434,7 +436,7 @@ void LLFloaterFixedEnvironment::onSaveAsCommit(const LLSD& notification, const L void LLFloaterFixedEnvironment::onClickCloseBtn(bool app_quitting) { if (!app_quitting) - checkAndConfirmSettingsLoss([this](){ closeFloater(); }); + checkAndConfirmSettingsLoss([this](){ closeFloater(); clearDirtyFlag(); }); else closeFloater(); } -- cgit v1.3