diff options
Diffstat (limited to 'linden/indra/newview/llinventoryview.cpp')
-rw-r--r-- | linden/indra/newview/llinventoryview.cpp | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/linden/indra/newview/llinventoryview.cpp b/linden/indra/newview/llinventoryview.cpp index d72fb95..4beb370 100644 --- a/linden/indra/newview/llinventoryview.cpp +++ b/linden/indra/newview/llinventoryview.cpp | |||
@@ -203,6 +203,12 @@ void LLInventoryViewFinder::updateElementsFromFilter() | |||
203 | 203 | ||
204 | void LLInventoryViewFinder::draw() | 204 | void LLInventoryViewFinder::draw() |
205 | { | 205 | { |
206 | rebuildFilter(); | ||
207 | LLFloater::draw(); | ||
208 | } | ||
209 | |||
210 | void LLInventoryViewFinder::rebuildFilter() | ||
211 | { | ||
206 | U32 filter = 0xffffffff; | 212 | U32 filter = 0xffffffff; |
207 | BOOL filtered_by_all_types = TRUE; | 213 | BOOL filtered_by_all_types = TRUE; |
208 | 214 | ||
@@ -237,8 +243,6 @@ void LLInventoryViewFinder::draw() | |||
237 | } | 243 | } |
238 | 244 | ||
239 | if (!childGetValue("check_landmark")) | 245 | if (!childGetValue("check_landmark")) |
240 | |||
241 | |||
242 | { | 246 | { |
243 | filter &= ~(LLInventoryType::NIT_LANDMARK); | 247 | filter &= ~(LLInventoryType::NIT_LANDMARK); |
244 | filtered_by_all_types = FALSE; | 248 | filtered_by_all_types = FALSE; |
@@ -308,8 +312,6 @@ void LLInventoryViewFinder::draw() | |||
308 | mInventoryView->mActivePanel->setHoursAgo(hours); | 312 | mInventoryView->mActivePanel->setHoursAgo(hours); |
309 | mInventoryView->mActivePanel->setSinceLogoff(getCheckSinceLogoff()); | 313 | mInventoryView->mActivePanel->setSinceLogoff(getCheckSinceLogoff()); |
310 | mInventoryView->setFilterTextFromFilter(); | 314 | mInventoryView->setFilterTextFromFilter(); |
311 | |||
312 | LLFloater::draw(); | ||
313 | } | 315 | } |
314 | 316 | ||
315 | void LLInventoryViewFinder::onClose(bool app_quitting) | 317 | void LLInventoryViewFinder::onClose(bool app_quitting) |