summaryrefslogtreecommitdiff
path: root/indra/newview
diff options
context:
space:
mode:
authorAndrey Kleshchev <andreykproductengine@lindenlab.com>2022-07-04 23:06:54 +0300
committerAndrey Kleshchev <andreykproductengine@lindenlab.com>2022-07-04 23:06:54 +0300
commit30b1c7542124a05cd46afd172fc6203a0ef6a7c6 (patch)
tree775199196748646a07356a70eb1a1b1dee9265a5 /indra/newview
parent1b369c7f10c987dcd1c985ccff7b94ff27fbfe12 (diff)
SL-17718 Newly published classifieds should not open in edit mode
Diffstat (limited to 'indra/newview')
-rw-r--r--indra/newview/llpanelprofileclassifieds.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/indra/newview/llpanelprofileclassifieds.cpp b/indra/newview/llpanelprofileclassifieds.cpp
index a8b29313c9..bf8a67a03a 100644
--- a/indra/newview/llpanelprofileclassifieds.cpp
+++ b/indra/newview/llpanelprofileclassifieds.cpp
@@ -725,6 +725,11 @@ void LLPanelProfileClassified::processProperties(void* data, EAvatarProcessorTyp
if(c_info && getClassifiedId() == c_info->classified_id)
{
// see LLPanelProfileClassified::sendUpdate() for notes
+ if (mIsNewWithErrors)
+ {
+ // We just published it
+ setEditMode(FALSE);
+ }
mIsNewWithErrors = false;
mIsNew = false;