summaryrefslogtreecommitdiff
path: root/indra/newview/llfloaterpreference.cpp
diff options
context:
space:
mode:
authorKitty Barnett <develop@catznip.com>2012-12-17 00:09:01 +0100
committerKitty Barnett <develop@catznip.com>2012-12-17 00:09:01 +0100
commit5824e60c595a3004ba24c250cad72a5eace8013f (patch)
treea3f6839f56c3b19b59eb3509423354ebd12d4814 /indra/newview/llfloaterpreference.cpp
parenta18ea9d92923e331c0a3e179e126659e694b1c07 (diff)
parent74d3dc41fb7e24410ba052a9c5ce2867fbdb9c0a (diff)
Merge with viewer-materials tip
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()