aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/floatercommandline.cpp
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--linden/indra/newview/floatercommandline.cpp9
1 files changed, 9 insertions, 0 deletions
diff --git a/linden/indra/newview/floatercommandline.cpp b/linden/indra/newview/floatercommandline.cpp
index a700b62..c093a58 100644
--- a/linden/indra/newview/floatercommandline.cpp
+++ b/linden/indra/newview/floatercommandline.cpp
@@ -32,6 +32,7 @@
32 32
33#include "floatercommandline.h" 33#include "floatercommandline.h"
34 34
35#include "hippoGridManager.h"
35#include "lluictrlfactory.h" 36#include "lluictrlfactory.h"
36#include "llviewercontrol.h" 37#include "llviewercontrol.h"
37 38
@@ -64,6 +65,14 @@ BOOL FloaterCommandLine::postBuild()
64 childSetCommitCallback("CmdLineChatbarAO", onCommitApplyControl); 65 childSetCommitCallback("CmdLineChatbarAO", onCommitApplyControl);
65 childSetCommitCallback("CmdLineChatbarClearChat", onCommitApplyControl); 66 childSetCommitCallback("CmdLineChatbarClearChat", onCommitApplyControl);
66 67
68 // hide options that don't work on non-SL-based grids
69 if (!gHippoGridManager->getConnectedGrid()->isSecondLife())
70 {
71 childSetEnabled("CmdLineChatbarRezPlatform", FALSE);
72 childSetEnabled("loltxt6", FALSE);
73 childSetEnabled("CmdLineChatbarPlatformSize", FALSE);
74 }
75
67 return TRUE; 76 return TRUE;
68} 77}
69 78