Fix for FIRE-29105, changing snapshot texture failed to enable Save button.

meow-7.2.2
Testy 2020-02-27 22:05:18 -04:00
parent c33f949d43
commit 7c650a64eb
1 changed files with 1 additions and 2 deletions

View File

@ -591,8 +591,6 @@ BOOL FSPanelClassifiedEdit::postBuild()
FSPanelClassifiedInfo::postBuild();
LLTextureCtrl* snapshot = getChild<LLTextureCtrl>("classified_snapshot");
snapshot->setOnSelectCallback(boost::bind(&FSPanelClassifiedEdit::onChange, this));
LLUICtrl* edit_icon = getChild<LLUICtrl>("edit_icon");
snapshot->setMouseEnterCallback(boost::bind(&FSPanelClassifiedEdit::onTexturePickerMouseEnter, this, edit_icon));
snapshot->setMouseLeaveCallback(boost::bind(&FSPanelClassifiedEdit::onTexturePickerMouseLeave, this, edit_icon));
@ -1110,6 +1108,7 @@ void FSPanelClassifiedEdit::onTexturePickerMouseLeave(LLUICtrl* ctrl)
void FSPanelClassifiedEdit::onTextureSelected()
{
setSnapshotId(mSnapshotCtrl->getValue().asUUID());
onChange();
}
//////////////////////////////////////////////////////////////////////////