summaryrefslogtreecommitdiff
path: root/indra/newview/llfloaterwebcontent.cpp
diff options
context:
space:
mode:
authorBrad Payne (Vir Linden) <vir@lindenlab.com>2011-08-15 14:51:21 -0400
committerBrad Payne (Vir Linden) <vir@lindenlab.com>2011-08-15 14:51:21 -0400
commit832d972fe86325bfafad542c7c548dbecaf5ee65 (patch)
tree85d0a25e92646ebbc8f0cf5ee02da13573334233 /indra/newview/llfloaterwebcontent.cpp
parent5c0df02df5abdadbf17235ae5d7208963c25f1ce (diff)
parentb21e63cc1260b1b8db87f52fb9b7a2f80b055327 (diff)
merge
Diffstat (limited to 'indra/newview/llfloaterwebcontent.cpp')
-rw-r--r--indra/newview/llfloaterwebcontent.cpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/indra/newview/llfloaterwebcontent.cpp b/indra/newview/llfloaterwebcontent.cpp
index 03e90a3d27..2c9a736aff 100644
--- a/indra/newview/llfloaterwebcontent.cpp
+++ b/indra/newview/llfloaterwebcontent.cpp
@@ -229,10 +229,8 @@ void LLFloaterWebContent::open_media(const Params& p)
getChild<LLLayoutPanel>("status_bar")->setVisible(p.show_chrome);
getChild<LLLayoutPanel>("nav_controls")->setVisible(p.show_chrome);
bool address_entry_enabled = p.allow_address_entry && !p.trusted_content;
- // disable components of combo box so that we can still select and copy text from address bar (a disabled line editor still allows this, but not if its parent is disabled)
- getChildView("address")->getChildView("Combo Text Entry")->setEnabled(address_entry_enabled);
- getChildView("address")->getChildView("Combobox Button")->setEnabled(address_entry_enabled);
- getChildView("address")->getChildView("ComboBox")->setEnabled(address_entry_enabled);
+ getChildView("address")->setEnabled(address_entry_enabled);
+ getChildView("popexternal")->setEnabled(address_entry_enabled);
if (!address_entry_enabled)
{