diff options
| author | Mnikolenko Productengine <mnikolenko@productengine.com> | 2023-08-04 15:36:40 +0300 | 
|---|---|---|
| committer | Mnikolenko Productengine <mnikolenko@productengine.com> | 2023-08-04 15:36:40 +0300 | 
| commit | b6cd14fc47cff62f6a30874d71be86d6639c32da (patch) | |
| tree | a6c9db8de9db45d49e2828ad563473531732d763 | |
| parent | c3a2781c70d892ce909142ad8a55da835781113f (diff) | |
SL-19982 make sure 'item' is not null
| -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); | 
