summaryrefslogtreecommitdiff
path: root/indra/newview/llpanellandmarkinfo.cpp
diff options
context:
space:
mode:
authorDave Houlton <euclid@lindenlab.com>2022-04-18 15:35:23 -0600
committerDave Houlton <euclid@lindenlab.com>2022-04-18 15:35:23 -0600
commit035b1996df3f357b5060e3eb778588da5b9e7b37 (patch)
tree270e46eb85dd46fb6962a36a9357dbf31c3afb29 /indra/newview/llpanellandmarkinfo.cpp
parent2d63d2044e0a00d1969c3da254e016a6e520c0d5 (diff)
parentd031662435d97101411ae990ed85d6e001ab668a (diff)
Merge branch 'master' into DRTVWR-528
Diffstat (limited to 'indra/newview/llpanellandmarkinfo.cpp')
-rw-r--r--indra/newview/llpanellandmarkinfo.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/indra/newview/llpanellandmarkinfo.cpp b/indra/newview/llpanellandmarkinfo.cpp
index 880323ce16..834e664723 100644
--- a/indra/newview/llpanellandmarkinfo.cpp
+++ b/indra/newview/llpanellandmarkinfo.cpp
@@ -371,6 +371,11 @@ void LLPanelLandmarkInfo::toggleLandmarkEditMode(BOOL enabled)
setFocus(TRUE);
}
+void LLPanelLandmarkInfo::setCanEdit(BOOL enabled)
+{
+ getChild<LLButton>("edit_btn")->setEnabled(enabled);
+}
+
const std::string& LLPanelLandmarkInfo::getLandmarkTitle() const
{
return mLandmarkTitleEditor->getText();