summaryrefslogtreecommitdiff
path: root/indra/newview/llpanelmaininventory.cpp
diff options
context:
space:
mode:
authorJonathan Yap <jhwelch@gmail.com>2014-06-06 14:56:11 -0400
committerJonathan Yap <jhwelch@gmail.com>2014-06-06 14:56:11 -0400
commit89837f385261804781979bdac499d264457e3297 (patch)
tree4498c6f223afe83a3ff26ee709b37382df875152 /indra/newview/llpanelmaininventory.cpp
parent4da7f68549f531a6bec3643727cc68fb29a00bfa (diff)
STOMR-2034 XML adjustments and a bit of code cleanup
Diffstat (limited to 'indra/newview/llpanelmaininventory.cpp')
-rwxr-xr-xindra/newview/llpanelmaininventory.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/indra/newview/llpanelmaininventory.cpp b/indra/newview/llpanelmaininventory.cpp
index 310b5f5639..862a07358b 100755
--- a/indra/newview/llpanelmaininventory.cpp
+++ b/indra/newview/llpanelmaininventory.cpp
@@ -681,6 +681,8 @@ BOOL LLFloaterInventoryFinder::postBuild()
const LLRect& viewrect = mPanelMainInventory->getRect();
setRect(LLRect(viewrect.mLeft - getRect().getWidth(), viewrect.mTop, viewrect.mLeft, viewrect.mTop - getRect().getHeight()));
+ const U32 FILTER_NEWER = 0;
+
childSetAction("All", selectAllTypes, this);
childSetAction("None", selectNoTypes, this);
@@ -691,7 +693,7 @@ BOOL LLFloaterInventoryFinder::postBuild()
childSetCommitCallback("spin_days_ago", onTimeAgo, this);
mSinceDirection = getChild<LLRadioGroup>("date_search_direction");
- mSinceDirection->setSelectedIndex(0);
+ mSinceDirection->setSelectedIndex(FILTER_NEWER);
childSetAction("Close", onCloseBtn, this);