summaryrefslogtreecommitdiff
path: root/indra
diff options
context:
space:
mode:
authorRichard Linden <none@none>2012-02-03 19:16:33 -0800
committerRichard Linden <none@none>2012-02-03 19:16:33 -0800
commitd1b00a324b8e9783212d680361a78b01b462e793 (patch)
tree0210c235dd6c2aecd4b844b68bc530b78b02992c /indra
parent8b44dafd8f1641f77572787df5aa8b0cbb5c7aa6 (diff)
made hardware settings floater dependent on preferences floater
Diffstat (limited to 'indra')
-rwxr-xr-xindra/newview/llfloaterpreference.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/indra/newview/llfloaterpreference.cpp b/indra/newview/llfloaterpreference.cpp
index a333989e7e..655dde3145 100755
--- a/indra/newview/llfloaterpreference.cpp
+++ b/indra/newview/llfloaterpreference.cpp
@@ -741,7 +741,8 @@ void LLFloaterPreference::onClose(bool app_quitting)
void LLFloaterPreference::onOpenHardwareSettings()
{
- LLFloaterReg::showInstance("prefs_hardware_settings");
+ LLFloater* floater = LLFloaterReg::showInstance("prefs_hardware_settings");
+ addDependentFloater(floater, FALSE);
}
// static
void LLFloaterPreference::onBtnOK()