diff --git a/indra/newview/llpreviewscript.cpp b/indra/newview/llpreviewscript.cpp index 1666bfebd46c115827d35b3e1a55431eae52f6b8..dc79abcdeb39cd31ac328c36052a0b4ea3fd697a 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);