diff --git a/indra/newview/llpanelgroupgeneral.cpp b/indra/newview/llpanelgroupgeneral.cpp index 48d74eacd..84c5997a1 100644 --- a/indra/newview/llpanelgroupgeneral.cpp +++ b/indra/newview/llpanelgroupgeneral.cpp @@ -128,6 +128,8 @@ BOOL LLPanelGroupGeneral::postBuild() { mInsignia->setCommitCallback(boost::bind(&LLPanelGroupGeneral::onCommitAny,this)); mDefaultIconID = mInsignia->getImageAssetID(); + void show_picture(const LLUUID& id, const std::string& name); + getChild("bigimg")->setCommitCallback(boost::bind(boost::bind(show_picture, boost::bind(&LLTextureCtrl::getImageAssetID, mInsignia), "Group Insignia"))); } mEditCharter = getChild("charter", recurse); diff --git a/indra/newview/skins/default/xui/en-us/panel_group_general.xml b/indra/newview/skins/default/xui/en-us/panel_group_general.xml index 9e51bb3fa..53f9a8cfd 100644 --- a/indra/newview/skins/default/xui/en-us/panel_group_general.xml +++ b/indra/newview/skins/default/xui/en-us/panel_group_general.xml @@ -53,8 +53,8 @@ Hover your mouse over the options for more help. mouse_opaque="true" name="insignia" tool_tip="Click to choose a picture" width="128" /> @@ -62,11 +62,12 @@ Hover your mouse over the options for more help.