From e5124431b54d4342d4677371fccca5bc7250c079 Mon Sep 17 00:00:00 2001 From: Don Kjer Date: Mon, 2 Jul 2007 17:10:30 +0000 Subject: svn merge -r 64079:64548 svn+ssh://svn/svn/linden/branches/maintenance into release --- indra/newview/llfloatertopobjects.cpp | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to 'indra/newview/llfloatertopobjects.cpp') diff --git a/indra/newview/llfloatertopobjects.cpp b/indra/newview/llfloatertopobjects.cpp index 90490f6f9b..d850c6812f 100644 --- a/indra/newview/llfloatertopobjects.cpp +++ b/indra/newview/llfloatertopobjects.cpp @@ -350,19 +350,22 @@ void LLFloaterTopObjects::onDisableSelected(void* data) sInstance->doToObjects(ACTION_DISABLE, false); } +//static void LLFloaterTopObjects::clearList() { - LLCtrlListInterface *list = childGetListInterface("objects_list"); + LLCtrlListInterface *list = sInstance->childGetListInterface("objects_list"); if (list) { list->operateOnAll(LLCtrlListInterface::OP_DELETE); } - mObjectListData.clear(); - mObjectListIDs.clear(); + sInstance->mObjectListData.clear(); + sInstance->mObjectListIDs.clear(); + sInstance->mtotalScore = 0.f; } +//static void LLFloaterTopObjects::onRefresh(void* data) { U32 mode = STAT_REPORT_TOP_SCRIPTS; @@ -377,8 +380,6 @@ void LLFloaterTopObjects::onRefresh(void* data) sInstance->clearList(); } - sInstance->mtotalScore = 0.f; - LLMessageSystem *msg = gMessageSystem; msg->newMessageFast(_PREHASH_LandStatRequest); msg->nextBlockFast(_PREHASH_AgentData); -- cgit v1.2.3