Skip to content
Snippets Groups Projects
Commit 1ca57e40 authored by Rye Mutt's avatar Rye Mutt :bread:
Browse files

Fix classified creation buttons being visible on others profiles

parent 3a17e442
No related branches found
No related tags found
No related merge requests found
...@@ -155,6 +155,14 @@ void LLPanelProfileClassifieds::onOpen(const LLSD& key) ...@@ -155,6 +155,14 @@ void LLPanelProfileClassifieds::onOpen(const LLSD& key)
mDeleteButton->setVisible(TRUE); mDeleteButton->setVisible(TRUE);
mDeleteButton->setEnabled(FALSE); 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) void LLPanelProfileClassifieds::selectClassified(const LLUUID& classified_id, bool edit)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment