Pathfinding UI: Fix the open with selection via pie menu bug.

Also comments out an unnecessary excess call.
This commit is contained in:
Lirusaito
2013-03-20 08:37:06 -04:00
parent c2b3322594
commit f87a967c0d

View File

@@ -73,7 +73,7 @@ void LLFloaterPathfindingObjects::onOpen(/*const LLSD &pKey*/)
{
LLFloater::onOpen(/*pKey*/);
selectNoneObjects();
//selectNoneObjects(); // Singu Note: We call this onClose, we shouldn't need to call this onOpen, in fact this call causes opening with selection to fail
mObjectsScrollList->setCommitOnSelectionChange(TRUE);
if (!mSelectionUpdateSlot.connected())
@@ -121,7 +121,7 @@ void LLFloaterPathfindingObjects::onClose(bool pIsAppQuitting)
if (pIsAppQuitting)
{
clearAllObjects();
//clearAllObjects();
destroy();
}
else