Don't accidentally override a base member method
parent
6760f79fad
commit
e8021554f4
|
|
@ -71,7 +71,7 @@ BOOL LLFloaterProfileTexture::postBuild()
|
|||
mCloseButton->setCommitCallback([this](LLUICtrl*, void*) { closeFloater(); }, nullptr);
|
||||
|
||||
// <FS:Ansariel> Add refresh function
|
||||
getChild<LLButton>("btn_refresh")->setCommitCallback([this](LLUICtrl*, void*) { refresh(); }, nullptr);
|
||||
getChild<LLButton>("btn_refresh")->setCommitCallback([this](LLUICtrl*, void*) { refreshTexture(); }, nullptr);
|
||||
|
||||
return TRUE;
|
||||
}
|
||||
|
|
@ -230,7 +230,7 @@ void LLFloaterProfileTexture::onTextureLoaded(
|
|||
}
|
||||
|
||||
// <FS:Ansariel> Add refresh function
|
||||
void LLFloaterProfileTexture::refresh()
|
||||
void LLFloaterProfileTexture::refreshTexture()
|
||||
{
|
||||
if (mImageID.notNull() && mImage.notNull())
|
||||
{
|
||||
|
|
|
|||
|
|
@ -47,7 +47,7 @@ public:
|
|||
void loadAsset(const LLUUID &image_id);
|
||||
|
||||
// <FS:Ansariel> Add refresh function
|
||||
void refresh();
|
||||
void refreshTexture();
|
||||
|
||||
|
||||
static void onTextureLoaded(
|
||||
|
|
|
|||
Loading…
Reference in New Issue