summaryrefslogtreecommitdiff
path: root/indra/newview/llfloaterpreference.cpp
diff options
context:
space:
mode:
authorNat Goodspeed <nat@lindenlab.com>2012-12-05 12:05:33 -0500
committerNat Goodspeed <nat@lindenlab.com>2012-12-05 12:05:33 -0500
commit377544c8b40f2d35ba7b29252ed471d19bb983e5 (patch)
tree0fb68b6d7f9ce04b7126d08365f0f6cb483e57f7 /indra/newview/llfloaterpreference.cpp
parentcc2c426e88bfff91c1da1704d5fdedee6e7e3dbb (diff)
parent5a938e3a1c8582d6bfe6df2aa195afcdcafb355a (diff)
merge changes for MAINT-1955, MAINT-1958
Diffstat (limited to 'indra/newview/llfloaterpreference.cpp')
-rwxr-xr-xindra/newview/llfloaterpreference.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/indra/newview/llfloaterpreference.cpp b/indra/newview/llfloaterpreference.cpp
index 5752f839ce..542e96cf16 100755
--- a/indra/newview/llfloaterpreference.cpp
+++ b/indra/newview/llfloaterpreference.cpp
@@ -750,7 +750,10 @@ void LLFloaterPreference::onClose(bool app_quitting)
{
gSavedSettings.setS32("LastPrefTab", getChild<LLTabContainer>("pref core")->getCurrentPanelIndex());
LLPanelLogin::setAlwaysRefresh(false);
- cancel();
+ if (!app_quitting)
+ {
+ cancel();
+ }
}
void LLFloaterPreference::onOpenHardwareSettings()