Skip to content
Snippets Groups Projects
Commit b6cd14fc authored by Mnikolenko Productengine's avatar Mnikolenko Productengine
Browse files

SL-19982 make sure 'item' is not null

parent c3a2781c
No related branches found
No related tags found
No related merge requests found
......@@ -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);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment