summaryrefslogtreecommitdiff
path: root/indra/newview/llpreviewscript.cpp
diff options
context:
space:
mode:
authorRick Pasetto <rick@lindenlab.com>2009-11-03 09:44:09 -0800
committerRick Pasetto <rick@lindenlab.com>2009-11-03 09:44:09 -0800
commita0bbe8d8eb98aaba1dc55c7cbcb70d58125781ce (patch)
tree279f3421a88280d6003d6973dcb5556702e2c52f /indra/newview/llpreviewscript.cpp
parentc59e2d21174415842b1418c5f389becb7c013706 (diff)
parentc9d121dd01625790cb963372c861f8e4072430d2 (diff)
merge from remote repo
Diffstat (limited to 'indra/newview/llpreviewscript.cpp')
-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()