Fix callbacks for PBR region terrain panel not getting wired up properly
parent
ed73208eb9
commit
d163d90323
|
|
@ -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()
|
||||
|
|
|
|||
Loading…
Reference in New Issue