summaryrefslogtreecommitdiff
path: root/indra/newview/llfloaterpreference.cpp
diff options
context:
space:
mode:
authorGilbert Gonzales <gilbert@lindenlab.com>2012-12-12 17:00:35 -0800
committerGilbert Gonzales <gilbert@lindenlab.com>2012-12-12 17:00:35 -0800
commit2a9056f0b74ad8dc3051488688e150a85cb0afdc (patch)
treebca1d33e78b98cf5ef6fac7e7b9c3dffa3a7af39 /indra/newview/llfloaterpreference.cpp
parent89671fa1ad4ef13acb264d0e047fb24b9ee5d8a4 (diff)
parenta88de5d45fe698bf9193659a677927c96c319ad6 (diff)
merging in latest changes
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 2c3f460701..13d8a79f8d 100755
--- a/indra/newview/llfloaterpreference.cpp
+++ b/indra/newview/llfloaterpreference.cpp
@@ -749,7 +749,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()