diff options
author | Jonathan "Geenz" Goodman <geenz@lindenlab.com> | 2025-04-17 20:09:55 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-04-17 20:09:55 -0400 |
commit | c0ecfce26d77420f0a26bfb93a82eb9b61513677 (patch) | |
tree | 01df292c42d63509b527be7698606e6502ed9a2b /indra/newview/llpreviewscript.cpp | |
parent | 37bbc6faa10fd8abf7c0274dfa3e69ff9062baa2 (diff) | |
parent | 9c3ce3dec7ad01620213079204d0a43d193bbfb9 (diff) |
Merge pull request #3933 from Ansariel/develop-llui-improvements
Clean up LLUI and fix/add suggestions from VS
Diffstat (limited to 'indra/newview/llpreviewscript.cpp')
-rw-r--r-- | indra/newview/llpreviewscript.cpp | 5 |
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); } |