diff options
author | angela <angela@lindenlab.com> | 2009-11-02 19:22:19 +0800 |
---|---|---|
committer | angela <angela@lindenlab.com> | 2009-11-02 19:22:19 +0800 |
commit | 25538beb77b66fe6968edcddd6e15a4133ec3564 (patch) | |
tree | 7ba5f943b555b8c9f84d48dbf6e16f145ff95735 /indra | |
parent | 3b6e5fb59ec2d19eb189e25408f2dd12cd3bb263 (diff) |
Script Editor: changing Mono checkbox doesn't enable Save button
Diffstat (limited to 'indra')
-rw-r--r-- | indra/newview/llpreviewscript.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/llpreviewscript.cpp b/indra/newview/llpreviewscript.cpp index ac7abf1448..b391c6ff1d 100644 --- a/indra/newview/llpreviewscript.cpp +++ b/indra/newview/llpreviewscript.cpp @@ -452,7 +452,7 @@ bool LLScriptEdCore::hasChanged() { if (!mEditor) return false; - return !mEditor->isPristine(); + return ((!mEditor->isPristine() || mEnableSave) && mHasScriptData); } void LLScriptEdCore::draw() |