diff options
author | Andrey Kleshchev <andreykproductengine@lindenlab.com> | 2022-01-15 01:08:12 +0200 |
---|---|---|
committer | Andrey Kleshchev <andreykproductengine@lindenlab.com> | 2022-01-15 01:08:12 +0200 |
commit | 488fb8bab686b29916104d6d1f2f3d4cb1fef78a (patch) | |
tree | 7c723c4e2adec00bd22bf6a17b8a5ba753568730 /indra/newview/llfloatertools.cpp | |
parent | 8ff47309a119fbad799b16e88a374046c90ad3e6 (diff) |
SL-16344 #1 Sometimes editor's media title picks obsolete description
Wait for media_plugin to navigate to destination
Diffstat (limited to 'indra/newview/llfloatertools.cpp')
-rw-r--r-- | indra/newview/llfloatertools.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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(); |