diff options
Diffstat (limited to 'linden/indra/newview/llinventoryview.cpp')
-rw-r--r-- | linden/indra/newview/llinventoryview.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/linden/indra/newview/llinventoryview.cpp b/linden/indra/newview/llinventoryview.cpp index afeb3be..162cf9f 100644 --- a/linden/indra/newview/llinventoryview.cpp +++ b/linden/indra/newview/llinventoryview.cpp | |||
@@ -622,7 +622,7 @@ void LLInventoryView::onClose(bool app_quitting) | |||
622 | gSavedSettings.setBOOL("ShowInventory", FALSE); | 622 | gSavedSettings.setBOOL("ShowInventory", FALSE); |
623 | } | 623 | } |
624 | // clear filters, but save user's folder state first | 624 | // clear filters, but save user's folder state first |
625 | if (!mActivePanel->getRootFolder()->isFilterActive()) | 625 | if (!mActivePanel->getRootFolder()->isFilterModified()) |
626 | { | 626 | { |
627 | mSavedFolderState->setApply(FALSE); | 627 | mSavedFolderState->setApply(FALSE); |
628 | mActivePanel->getRootFolder()->applyFunctorRecursively(*mSavedFolderState); | 628 | mActivePanel->getRootFolder()->applyFunctorRecursively(*mSavedFolderState); |
@@ -868,7 +868,7 @@ void LLInventoryView::onSearchEdit(const LLString& search_string, void* user_dat | |||
868 | } | 868 | } |
869 | 869 | ||
870 | // save current folder open state if no filter currently applied | 870 | // save current folder open state if no filter currently applied |
871 | if (!self->mActivePanel->getRootFolder()->isFilterActive()) | 871 | if (!self->mActivePanel->getRootFolder()->isFilterModified()) |
872 | { | 872 | { |
873 | self->mSavedFolderState->setApply(FALSE); | 873 | self->mSavedFolderState->setApply(FALSE); |
874 | self->mActivePanel->getRootFolder()->applyFunctorRecursively(*self->mSavedFolderState); | 874 | self->mActivePanel->getRootFolder()->applyFunctorRecursively(*self->mSavedFolderState); |