ACME-946 : Do not force set the focus on the web element, that messes things up badly...

master
Merov Linden 2013-09-26 16:17:54 -07:00
parent f53b2bd880
commit 796be733b3
1 changed files with 0 additions and 8 deletions

View File

@ -253,11 +253,6 @@ void LLFloaterWebContent::open_media(const Params& p)
getChildView("address")->setEnabled(address_entry_enabled);
getChildView("popexternal")->setEnabled(address_entry_enabled);
if (!address_entry_enabled)
{
mWebBrowser->setFocus(TRUE);
}
if (!p.show_chrome)
{
setResizeLimits(100, 100);
@ -434,9 +429,6 @@ void LLFloaterWebContent::set_current_url(const std::string& url)
mAddressCombo->remove(mCurrentURL);
mAddressCombo->add(mDisplayURL);
mAddressCombo->selectByValue(mDisplayURL);
// Set the focus back to the web page. When setting the url, there's no point to leave the focus anywhere else.
mWebBrowser->setFocus(TRUE);
}
}