summaryrefslogtreecommitdiff
path: root/indra/newview/llpreviewscript.cpp
diff options
context:
space:
mode:
authorMnikolenko Productengine <mnikolenko@productengine.com>2025-04-25 16:40:38 +0300
committerMnikolenko Productengine <mnikolenko@productengine.com>2025-04-25 16:40:38 +0300
commita7759f370435bdd971724aa799160fa28ae112b5 (patch)
treed5c63558fd34311ba70a4f0ceafcca8a8565f0bd /indra/newview/llpreviewscript.cpp
parentd9468ecc59f75363d9b57a9c1f7419cc3c42599b (diff)
parent89f817194305243cb28499c70819656b8172dfa8 (diff)
Merge branch 'release/2025.04' into 2025.04-chat-mention
Diffstat (limited to 'indra/newview/llpreviewscript.cpp')
-rw-r--r--indra/newview/llpreviewscript.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/indra/newview/llpreviewscript.cpp b/indra/newview/llpreviewscript.cpp
index 02a4c7fb26..c2aa4925bd 100644
--- a/indra/newview/llpreviewscript.cpp
+++ b/indra/newview/llpreviewscript.cpp
@@ -703,9 +703,10 @@ void LLScriptEdCore::sync()
}
}
-bool LLScriptEdCore::hasChanged()
+bool LLScriptEdCore::hasChanged() const
{
- if (!mEditor) return false;
+ if (!mEditor)
+ return false;
return ((!mEditor->isPristine() || mEnableSave) && mHasScriptData);
}