Fix a bug with <x] button, introduced by new behavior discussed in SV-2078

This commit is contained in:
Lirusaito
2016-07-12 07:27:30 -04:00
parent e4544bec97
commit dd74e69ab7

View File

@@ -687,6 +687,9 @@ void LLPanelMainInventory::onResetAll(void* userdata)
self->mFilterEditor->setText(LLStringUtil::null);
}
self->onFilterEdit("");
self->mActivePanel->setFilterTypes(0xffffffffffffffffULL);
if (auto* finder = self->getFinder())
LLFloaterInventoryFinder::selectAllTypes(finder);
self->mActivePanel->closeAllFolders();
}