polished the voice anchor a little more

This commit is contained in:
Hazim Gazov
2010-05-04 22:58:13 -03:00
parent 629d77aff7
commit d6e810443e
3 changed files with 10 additions and 5 deletions

View File

@@ -252,6 +252,11 @@ void LLVoiceRemoteCtrl::onClickPosLock(void* user_data)
{
gVoiceClient->setPosLocked(!gVoiceClient->getPosLocked());
llwarns << gVoiceClient->getPosLocked() << llendl;
if(!gVoiceClient->getPosLocked())
{
gVoiceClient->parcelChanged(); //force it to get a new SIP url based on our actual location
}
}
void LLVoiceRemoteCtrl::onClickSpeakers(void *user_data)