From 488fb8bab686b29916104d6d1f2f3d4cb1fef78a Mon Sep 17 00:00:00 2001 From: Andrey Kleshchev Date: Sat, 15 Jan 2022 01:08:12 +0200 Subject: SL-16344 #1 Sometimes editor's media title picks obsolete description Wait for media_plugin to navigate to destination --- indra/newview/llfloatertools.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'indra') diff --git a/indra/newview/llfloatertools.cpp b/indra/newview/llfloatertools.cpp index 0429749e11..87fc3d72cc 100644 --- a/indra/newview/llfloatertools.cpp +++ b/indra/newview/llfloatertools.cpp @@ -1500,7 +1500,7 @@ void LLFloaterTools::updateMediaTitle() // get plugin impl LLPluginClassMedia* media_plugin = mTitleMedia->getMediaPlugin(); - if ( media_plugin ) + if ( media_plugin && mTitleMedia->getCurrentNavUrl() == media_plugin->getNavigateURI()) { // get the media name (asynchronous - must call repeatedly) std::string media_title = media_plugin->getMediaName(); -- cgit v1.2.3