summaryrefslogtreecommitdiff
path: root/indra/newview/llfloaterscriptedprefs.cpp
diff options
context:
space:
mode:
authorCinder <cinder.roxley@phoenixviewer.com>2014-05-14 21:24:23 -0600
committerCinder <cinder.roxley@phoenixviewer.com>2014-05-14 21:24:23 -0600
commit4ce0f6d6eac3817e586bee1edd42ae80aaf21f4f (patch)
tree497e0946fc5191aa1252fecb3f6e2939dc994d97 /indra/newview/llfloaterscriptedprefs.cpp
parent7ada3ea719e583101ea0762ed75f0c1b803f08dc (diff)
Color syntax in script colors floater
Diffstat (limited to 'indra/newview/llfloaterscriptedprefs.cpp')
-rw-r--r--indra/newview/llfloaterscriptedprefs.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/indra/newview/llfloaterscriptedprefs.cpp b/indra/newview/llfloaterscriptedprefs.cpp
index 39624186bb..12d4bd6faf 100644
--- a/indra/newview/llfloaterscriptedprefs.cpp
+++ b/indra/newview/llfloaterscriptedprefs.cpp
@@ -29,6 +29,7 @@
#include "llfloaterscriptedprefs.h"
#include "llcolorswatch.h"
+#include "llscripteditor.h"
LLFloaterScriptEdPrefs::LLFloaterScriptEdPrefs(const LLSD& key)
@@ -40,6 +41,12 @@ LLFloaterScriptEdPrefs::LLFloaterScriptEdPrefs(const LLSD& key)
BOOL LLFloaterScriptEdPrefs::postBuild()
{
+ LLScriptEditor* editor = getChild<LLScriptEditor>("Script Preview");
+ if (editor)
+ {
+ editor->initKeywords();
+ editor->loadKeywords();
+ }
return TRUE;
}