diff options
author | Andrey Kleshchev <andreykproductengine@lindenlab.com> | 2022-07-22 02:13:22 +0300 |
---|---|---|
committer | Andrey Kleshchev <andreykproductengine@lindenlab.com> | 2022-07-22 02:14:54 +0300 |
commit | 798e38051c11360007c0cb0e3b74b34582d11b06 (patch) | |
tree | a3d6d3c966db39719f3adbc6f25e7a89ca173235 | |
parent | 38cc06e43a92a10d73ab149944b3cff19b8da8ad (diff) |
SL-17814 Crash at landmark's onCommitTextChanges
-rw-r--r-- | indra/newview/llfloatercreatelandmark.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
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(); |