summaryrefslogtreecommitdiff
path: root/indra/newview/llfloaterpathfindingobjects.cpp
diff options
context:
space:
mode:
authorTodd Stinson <stinson@lindenlab.com>2012-06-01 16:34:42 -0700
committerTodd Stinson <stinson@lindenlab.com>2012-06-01 16:34:42 -0700
commit372391403d3a7ca3c67d7a6256ab3e4c44018bd0 (patch)
treef5864cc94e51425ec73764edb6e3a0d81348bc92 /indra/newview/llfloaterpathfindingobjects.cpp
parentbf8d3e1d304007cbd2a723808193e172b3e56c8a (diff)
Adding an automatic refresh to the pathfinding object floaters.
Diffstat (limited to 'indra/newview/llfloaterpathfindingobjects.cpp')
-rw-r--r--indra/newview/llfloaterpathfindingobjects.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/indra/newview/llfloaterpathfindingobjects.cpp b/indra/newview/llfloaterpathfindingobjects.cpp
index 002849695a..8aaeb299f1 100644
--- a/indra/newview/llfloaterpathfindingobjects.cpp
+++ b/indra/newview/llfloaterpathfindingobjects.cpp
@@ -234,6 +234,7 @@ BOOL LLFloaterPathfindingObjects::postBuild()
void LLFloaterPathfindingObjects::requestGetObjects()
{
+ llassert(0);
}
LLPathfindingManager::request_id_t LLFloaterPathfindingObjects::getNewRequestId()
@@ -496,6 +497,7 @@ void LLFloaterPathfindingObjects::onSelectNoneObjectsClicked()
void LLFloaterPathfindingObjects::onTakeClicked()
{
handle_take();
+ requestGetObjects();
}
void LLFloaterPathfindingObjects::onTakeCopyClicked()
@@ -506,11 +508,13 @@ void LLFloaterPathfindingObjects::onTakeCopyClicked()
void LLFloaterPathfindingObjects::onReturnClicked()
{
handle_object_return();
+ requestGetObjects();
}
void LLFloaterPathfindingObjects::onDeleteClicked()
{
handle_object_delete();
+ requestGetObjects();
}
void LLFloaterPathfindingObjects::onTeleportClicked()