merge changes for vwr-25480
commit
2ee2f1d6ff
|
|
@ -158,6 +158,7 @@ Ann Congrejo
|
|||
CT-193
|
||||
Ansariel Hiller
|
||||
STORM-1101
|
||||
VWR-25480
|
||||
Ardy Lay
|
||||
STORM-859
|
||||
VWR-19499
|
||||
|
|
@ -443,6 +444,7 @@ Jonathan Yap
|
|||
STORM-1236
|
||||
STORM-1259
|
||||
STORM-787
|
||||
VWR-25480
|
||||
STORM-1334
|
||||
STORM-1313
|
||||
STORM-899
|
||||
|
|
|
|||
|
|
@ -1527,17 +1527,24 @@ void LLFloaterWorldMap::updateSims(bool found_null_sim)
|
|||
mCompletingRegionName = "";
|
||||
}
|
||||
|
||||
// if match found, highlight it and go
|
||||
if (!match.isUndefined())
|
||||
if (num_results > 0)
|
||||
{
|
||||
list->selectByValue(match);
|
||||
// if match found, highlight it and go
|
||||
if (!match.isUndefined())
|
||||
{
|
||||
list->selectByValue(match);
|
||||
}
|
||||
// else select first found item
|
||||
else
|
||||
{
|
||||
list->selectFirstItem();
|
||||
}
|
||||
getChild<LLUICtrl>("search_results")->setFocus(TRUE);
|
||||
onCommitSearchResult();
|
||||
}
|
||||
|
||||
// if we found nothing, say "none"
|
||||
if (num_results == 0)
|
||||
else
|
||||
{
|
||||
// if we found nothing, say "none"
|
||||
list->setCommentText(LLTrans::getString("worldmap_results_none_found"));
|
||||
list->operateOnAll(LLCtrlListInterface::OP_DESELECT);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue