diff options
author | Tofu Linden <tofu.linden@lindenlab.com> | 2010-05-18 10:58:18 +0100 |
---|---|---|
committer | Tofu Linden <tofu.linden@lindenlab.com> | 2010-05-18 10:58:18 +0100 |
commit | cd0ab5b41eda85b9cb4855f61c3f7e4ca5150797 (patch) | |
tree | 6e580ae150bc6942b393ad4bb73213c9f81fe909 /indra/newview/llinventoryitemslist.h | |
parent | 8b7563660c1d2ee7463edd24116a327b3b6553c3 (diff) | |
parent | b6ed10e8285e4abef4f14c618186984ef4b2cf7f (diff) |
merge from viewer-public
Diffstat (limited to 'indra/newview/llinventoryitemslist.h')
-rw-r--r-- | indra/newview/llinventoryitemslist.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/indra/newview/llinventoryitemslist.h b/indra/newview/llinventoryitemslist.h index 60cccc0f4f..a3863b511c 100644 --- a/indra/newview/llinventoryitemslist.h +++ b/indra/newview/llinventoryitemslist.h @@ -222,6 +222,12 @@ public: bool getNeedsRefresh(){ return mNeedsRefresh; } /** + * Sets the flag indicating that the list needs to be refreshed even if it is + * not currently visible. + */ + void setForceRefresh(bool force_refresh){ mForceRefresh = force_refresh; } + + /** * Idle routine used to refresh the list regardless of the current list * visibility, unlike draw() which is called only for the visible list. * This is needed for example to filter items of the list hidden by closed @@ -259,7 +265,7 @@ private: // Will be used in refresh() to determine added and removed ids bool mNeedsRefresh; - bool mPrevVisibility; + bool mForceRefresh; commit_signal_t mRefreshCompleteSignal; }; |