summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--indra/newview/llfloatercreatelandmark.cpp4
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();