summaryrefslogtreecommitdiff
path: root/indra/newview/llfloaterpreference.cpp
diff options
context:
space:
mode:
authorOz Linden <oz@lindenlab.com>2013-01-04 10:23:22 -0500
committerOz Linden <oz@lindenlab.com>2013-01-04 10:23:22 -0500
commitb75fc0af897124a05ab3842bdfc60f428d22e051 (patch)
tree3cce57b84110720ea15f370b496d1bc6340a154f /indra/newview/llfloaterpreference.cpp
parent584b615c3444fdeaa0d41f1d9e839edf1518a310 (diff)
parentdef472b45cb17dd125f802dc3be85450135537a8 (diff)
merge up to 3.4.4 beta
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()