From 1ca57e40e8058b0bea870c7cf44cc4e75cf16a84 Mon Sep 17 00:00:00 2001 From: Rye Mutt <rye@alchemyviewer.org> Date: Sun, 22 Mar 2020 23:25:19 -0400 Subject: [PATCH] Fix classified creation buttons being visible on others profiles --- indra/newview/llpanelprofileclassifieds.cpp | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/indra/newview/llpanelprofileclassifieds.cpp b/indra/newview/llpanelprofileclassifieds.cpp index d72028a3660..1937e2db1c3 100644 --- a/indra/newview/llpanelprofileclassifieds.cpp +++ b/indra/newview/llpanelprofileclassifieds.cpp @@ -155,6 +155,14 @@ void LLPanelProfileClassifieds::onOpen(const LLSD& key) mDeleteButton->setVisible(TRUE); mDeleteButton->setEnabled(FALSE); } + else + { + mNewButton->setVisible(FALSE); + mNewButton->setEnabled(FALSE); + + mDeleteButton->setVisible(FALSE); + mDeleteButton->setEnabled(FALSE); + } } void LLPanelProfileClassifieds::selectClassified(const LLUUID& classified_id, bool edit) -- GitLab