From 798e38051c11360007c0cb0e3b74b34582d11b06 Mon Sep 17 00:00:00 2001 From: Andrey Kleshchev Date: Fri, 22 Jul 2022 02:13:22 +0300 Subject: SL-17814 Crash at landmark's onCommitTextChanges --- indra/newview/llfloatercreatelandmark.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'indra') diff --git a/indra/newview/llfloatercreatelandmark.cpp b/indra/newview/llfloatercreatelandmark.cpp index 5b50fd7677..7def855d83 100644 --- a/indra/newview/llfloatercreatelandmark.cpp +++ b/indra/newview/llfloatercreatelandmark.cpp @@ -250,6 +250,10 @@ void LLFloaterCreateLandmark::populateFoldersList(const LLUUID &folder_id) void LLFloaterCreateLandmark::onCommitTextChanges() { + if (mItem.isNull()) + { + return; + } std::string current_title_value = mLandmarkTitleEditor->getText(); std::string item_title_value = mItem->getName(); std::string current_notes_value = mNotesEditor->getText(); -- cgit v1.2.3