SL-9902 EEP Editors retaining dirty flags when they shouldn't
parent
f192ecf44b
commit
5a4d07f5ab
|
|
@ -629,7 +629,7 @@ void LLFloaterEditExtDayCycle::onSaveAsCommit(const LLSD& notification, const LL
|
|||
void LLFloaterEditExtDayCycle::onClickCloseBtn(bool app_quitting /*= false*/)
|
||||
{
|
||||
if (!app_quitting)
|
||||
checkAndConfirmSettingsLoss([this](){ closeFloater(); });
|
||||
checkAndConfirmSettingsLoss([this](){ closeFloater(); clearDirtyFlag(); });
|
||||
else
|
||||
closeFloater();
|
||||
}
|
||||
|
|
@ -1177,6 +1177,7 @@ void LLFloaterEditExtDayCycle::onAssetLoaded(LLUUID asset_id, LLSettingsBase::pt
|
|||
return;
|
||||
}
|
||||
mExpectingAssetId.setNull();
|
||||
clearDirtyFlag();
|
||||
|
||||
if (!settings || status)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -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();
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue