summaryrefslogtreecommitdiff
path: root/indra
diff options
context:
space:
mode:
Diffstat (limited to 'indra')
-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;
}