SL-17552 Clear dirty flag when clicking Save button

master
Mnikolenko Productengine 2022-06-08 18:24:48 +03:00
parent 3e1db1f184
commit f96659d7b0
2 changed files with 2 additions and 0 deletions

View File

@ -665,6 +665,7 @@ void LLFloaterEditExtDayCycle::onButtonApply(LLUICtrl *ctrl, const LLSD &data)
if (ctrl_action == ACTION_SAVE)
{
doApplyUpdateInventory(dayclone);
clearDirtyFlag();
}
else if (ctrl_action == ACTION_SAVEAS)
{

View File

@ -296,6 +296,7 @@ void LLFloaterFixedEnvironment::onButtonApply(LLUICtrl *ctrl, const LLSD &data)
if (ctrl_action == ACTION_SAVE)
{
doApplyUpdateInventory(setting_clone);
clearDirtyFlag();
}
else if (ctrl_action == ACTION_SAVEAS)
{