summaryrefslogtreecommitdiff
path: root/indra
diff options
context:
space:
mode:
authorAnsariel <ansariel.hiller@phoenixviewer.com>2024-07-28 16:17:23 +0200
committerAndrey Kleshchev <117672381+akleshchev@users.noreply.github.com>2024-07-29 21:22:05 +0300
commitd163d9032314335825b6f713e388342dde9174e7 (patch)
tree20ee1e8eba3c8ce94d92d0ea42b32e2c72cfff3d /indra
parented73208eb96b862b97fa285036edea1e792ca3c6 (diff)
Fix callbacks for PBR region terrain panel not getting wired up properly
Diffstat (limited to 'indra')
-rw-r--r--indra/newview/llfloaterregioninfo.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/indra/newview/llfloaterregioninfo.cpp b/indra/newview/llfloaterregioninfo.cpp
index 8807509a2e..3ef44bf74a 100644
--- a/indra/newview/llfloaterregioninfo.cpp
+++ b/indra/newview/llfloaterregioninfo.cpp
@@ -852,8 +852,9 @@ void LLPanelRegionInfo::initCtrl(const std::string& name)
template<typename CTRL>
void LLPanelRegionInfo::initAndSetCtrl(CTRL*& ctrl, const std::string& name)
{
- initCtrl(name);
ctrl = findChild<CTRL>(name);
+ if (ctrl)
+ ctrl->setCommitCallback(boost::bind(&LLPanelRegionInfo::onChangeAnything, this));
}
void LLPanelRegionInfo::onClickManageTelehub()