From 7c650a64eb4bb76672fbc543c6214e43d7f5315f Mon Sep 17 00:00:00 2001 From: Testy Date: Thu, 27 Feb 2020 22:05:18 -0400 Subject: [PATCH] Fix for FIRE-29105, changing snapshot texture failed to enable Save button. --- indra/newview/fspanelclassified.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/indra/newview/fspanelclassified.cpp b/indra/newview/fspanelclassified.cpp index 5999ab1f3c..034fef0903 100644 --- a/indra/newview/fspanelclassified.cpp +++ b/indra/newview/fspanelclassified.cpp @@ -591,8 +591,6 @@ BOOL FSPanelClassifiedEdit::postBuild() FSPanelClassifiedInfo::postBuild(); LLTextureCtrl* snapshot = getChild("classified_snapshot"); - snapshot->setOnSelectCallback(boost::bind(&FSPanelClassifiedEdit::onChange, this)); - LLUICtrl* edit_icon = getChild("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(); } //////////////////////////////////////////////////////////////////////////