summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorangela <angela@lindenlab.com>2009-11-02 19:22:19 +0800
committerangela <angela@lindenlab.com>2009-11-02 19:22:19 +0800
commit25538beb77b66fe6968edcddd6e15a4133ec3564 (patch)
tree7ba5f943b555b8c9f84d48dbf6e16f145ff95735
parent3b6e5fb59ec2d19eb189e25408f2dd12cd3bb263 (diff)
Script Editor: changing Mono checkbox doesn't enable Save button
-rw-r--r--indra/newview/llpreviewscript.cpp2
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()