diff options
-rw-r--r-- | indra/newview/llpreviewscript.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/llpreviewscript.cpp b/indra/newview/llpreviewscript.cpp index 1666bfebd4..dc79abcdeb 100644 --- a/indra/newview/llpreviewscript.cpp +++ b/indra/newview/llpreviewscript.cpp @@ -1624,7 +1624,7 @@ void LLPreviewLSL::draw() setTitle(LLTrans::getString("ScriptWasDeleted")); mScriptEd->setItemRemoved(TRUE); } - if (mDirty) + else if (mDirty) { std::string item_path = get_category_path(item->getParentUUID()); getChild<LLUICtrl>("path_txt")->setValue(item_path); |