diff options
| author | Richard Linden <none@none> | 2012-03-22 12:27:55 -0700 |
|---|---|---|
| committer | Richard Linden <none@none> | 2012-03-22 12:27:55 -0700 |
| commit | b2085efa8bad3da7442f35f92c8fe7c65019e182 (patch) | |
| tree | e636302499c63718325e27cef5c3ee2b7f88f289 /indra/newview/llinventoryfilter.cpp | |
| parent | d6d1cb852d014dd002656ed35537975ebb6300b0 (diff) | |
CHUI-68 FIX Using arrow keys to scroll through inventory folders does not scroll content in view
as a side effect, "My Inventory" is not selected by default
auto selection of filtered items now reliably turns itself off as soon as user scrolls or moves keyboard focus to inventory
Diffstat (limited to 'indra/newview/llinventoryfilter.cpp')
| -rw-r--r-- | indra/newview/llinventoryfilter.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/indra/newview/llinventoryfilter.cpp b/indra/newview/llinventoryfilter.cpp index e859535d18..4d0af94f9f 100644 --- a/indra/newview/llinventoryfilter.cpp +++ b/indra/newview/llinventoryfilter.cpp @@ -402,6 +402,11 @@ std::string::size_type LLInventoryFilter::getStringMatchOffset() const return mSubStringMatchOffset; } +BOOL LLInventoryFilter::isDefault() const +{ + return !isNotDefault(); +} + // has user modified default filter params? BOOL LLInventoryFilter::isNotDefault() const { |
