Fix callbacks for PBR region terrain panel not getting wired up properly

master
Ansariel 2024-07-28 16:17:23 +02:00 committed by Andrey Kleshchev
parent ed73208eb9
commit d163d90323
1 changed files with 2 additions and 1 deletions

View File

@ -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()