diff --git a/indra/newview/llinventorypanel.cpp b/indra/newview/llinventorypanel.cpp index cfad8e34f6..4e0bfb07fd 100644 --- a/indra/newview/llinventorypanel.cpp +++ b/indra/newview/llinventorypanel.cpp @@ -244,7 +244,7 @@ void LLInventoryPanel::initFromParams(const LLInventoryPanel::Params& params) { getFilter()->setFilterCategoryTypes(getFilter()->getFilterCategoryTypes() & ~(1ULL << LLFolderType::FT_INBOX)); } - gSavedSettings.getControl("FSShowInboxFolder")->getSignal()->connect(boost::bind(&LLInventoryPanel::updateHideInboxFolder, this, _2)); + gSavedSettings.getControl("FSShowInboxFolder")->getSignal()->connect(boost::bind(&LLInventoryPanel::updateShowInboxFolder, this, _2)); // Optional hiding of Received Items folder aka Inbox getFilter()->setFilterCategoryTypes(getFilter()->getFilterCategoryTypes() & ~(1ULL << LLFolderType::FT_OUTBOX)); @@ -1185,7 +1185,7 @@ void LLInventoryPanel::updateHideEmptySystemFolders(const LLSD &data) // Optional hiding of empty system folders // Optional hiding of Inbox folder -void LLInventoryPanel::updateHideInboxFolder(const LLSD &data) +void LLInventoryPanel::updateShowInboxFolder(const LLSD &data) { LLInventoryFilter* filter = getFilter(); if (filter) diff --git a/indra/newview/llinventorypanel.h b/indra/newview/llinventorypanel.h index 588b101f82..7bf08f5236 100644 --- a/indra/newview/llinventorypanel.h +++ b/indra/newview/llinventorypanel.h @@ -175,7 +175,7 @@ public: // Optional hiding of empty system folders void updateHideEmptySystemFolders(const LLSD &data); // Optional hiding of Inbox folder - void updateHideInboxFolder(const LLSD &data); + void updateShowInboxFolder(const LLSD &data); // DEBUG ONLY: static void dumpSelectionInformation(void* user_data);