From 30b1c7542124a05cd46afd172fc6203a0ef6a7c6 Mon Sep 17 00:00:00 2001 From: Andrey Kleshchev Date: Mon, 4 Jul 2022 23:06:54 +0300 Subject: SL-17718 Newly published classifieds should not open in edit mode --- indra/newview/llpanelprofileclassifieds.cpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'indra/newview') 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; -- cgit v1.2.3