summaryrefslogtreecommitdiff
path: root/indra/newview
diff options
context:
space:
mode:
authorprep <prep@lindenlab.com>2013-06-03 18:08:48 -0400
committerprep <prep@lindenlab.com>2013-06-03 18:08:48 -0400
commitc5c2e7b405bbbcc3d1c1756e34c3069611f0e4a1 (patch)
tree8139b926865d95f293f5e9a836a0f88c2a3f6fde /indra/newview
parentc81b685b4217b3c321815e1993d39fb0b479a767 (diff)
SH-4035 spec change. If you revert after quiting, SL shutsdown.
Diffstat (limited to 'indra/newview')
-rwxr-xr-xindra/newview/llfloatersidepanelcontainer.h3
-rwxr-xr-xindra/newview/llsidepanelappearance.cpp10
2 files changed, 10 insertions, 3 deletions
diff --git a/indra/newview/llfloatersidepanelcontainer.h b/indra/newview/llfloatersidepanelcontainer.h
index f543cfd5c4..b276821805 100755
--- a/indra/newview/llfloatersidepanelcontainer.h
+++ b/indra/newview/llfloatersidepanelcontainer.h
@@ -89,7 +89,8 @@ public:
private:
LLSidepanelAppearance* getSidePanelAppearance();
-private:
+
+public:
bool mAppQuiting;
};
diff --git a/indra/newview/llsidepanelappearance.cpp b/indra/newview/llsidepanelappearance.cpp
index 70da576c83..775c148ea1 100755
--- a/indra/newview/llsidepanelappearance.cpp
+++ b/indra/newview/llsidepanelappearance.cpp
@@ -151,11 +151,17 @@ bool LLSidepanelAppearance::callBackExitWithoutSaveViaClose(const LLSD& notifica
toggleWearableEditPanel(FALSE);
showOutfitEditPanel();
LLVOAvatarSelf::onCustomizeEnd( FALSE );
- mRevertSet = true;
+ if ( !mLLFloaterSidePanelContainer->mAppQuiting )
+ {
+ mRevertSet = true;
+ }
+ else
+ {
+ mLLFloaterSidePanelContainer->closeFloater( true );
+ }
return false;
}
mLLFloaterSidePanelContainer->mForceCloseAfterVerify = false;
- //mRevertSet = true;
return false;
}