Don't accidentally override a base member method

meow-7.2.2
Ansariel 2022-09-01 02:50:44 +02:00
parent 6760f79fad
commit e8021554f4
2 changed files with 3 additions and 3 deletions

View File

@ -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())
{

View File

@ -47,7 +47,7 @@ public:
void loadAsset(const LLUUID &image_id);
// <FS:Ansariel> Add refresh function
void refresh();
void refreshTexture();
static void onTextureLoaded(