summaryrefslogtreecommitdiff
path: root/indra/newview
diff options
context:
space:
mode:
authorAndrey Kleshchev <andreykproductengine@lindenlab.com>2018-02-12 19:27:09 +0000
committerAndrey Kleshchev <andreykproductengine@lindenlab.com>2018-02-12 19:27:09 +0000
commit2714ff8f25972c28d6667c83b834f189b0427f2d (patch)
tree82dc0e7dd57ecf43d8ddffb2d6a26c41134bafd5 /indra/newview
parente6765df1baa40a46b77e5362c8855a336125e5f7 (diff)
MAINT-8276 Arrows 'Navigate back' and 'Navigate forward' have wrong state
Diffstat (limited to 'indra/newview')
-rw-r--r--indra/newview/llfloaterwebcontent.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/indra/newview/llfloaterwebcontent.cpp b/indra/newview/llfloaterwebcontent.cpp
index dece3fc1ea..8a8d92d459 100644
--- a/indra/newview/llfloaterwebcontent.cpp
+++ b/indra/newview/llfloaterwebcontent.cpp
@@ -399,6 +399,9 @@ void LLFloaterWebContent::handleMediaEvent(LLPluginClassMedia* self, EMediaEvent
}
else if(event == MEDIA_EVENT_NAME_CHANGED )
{
+ // flags are sent with this event
+ mBtnBack->setEnabled(self->getHistoryBackAvailable());
+ mBtnForward->setEnabled(self->getHistoryForwardAvailable());
std::string page_title = self->getMediaName();
// simulate browser behavior - title is empty, use the current URL
if (mShowPageTitle)