summaryrefslogtreecommitdiff
path: root/indra/newview/llpreviewscript.cpp
diff options
context:
space:
mode:
authorVadim Savchuk <vsavchuk@productengine.com>2009-11-03 15:32:54 +0200
committerVadim Savchuk <vsavchuk@productengine.com>2009-11-03 15:32:54 +0200
commit4a3eeda1ea5b555d15758dd7abee9b11c980e5b3 (patch)
tree400016fada68cf72c5bd64bd1e972ecdf100f530 /indra/newview/llpreviewscript.cpp
parent645e2588511ff55b773e22fe3c9ee2c4de37843c (diff)
parenteff50b018c93f7ddf328c750ddbea11f0a50f9c1 (diff)
Merge from default branch
--HG-- branch : product-engine
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()