diff options
author | Richard Linden <none@none> | 2010-10-13 18:41:35 -0700 |
---|---|---|
committer | Richard Linden <none@none> | 2010-10-13 18:41:35 -0700 |
commit | 73b39c9b46ed25ae03b8225758c15325e50fdfe2 (patch) | |
tree | 7d502609402cccaee1cc500d3d042ca076779ab0 /indra/newview/llviewerwindow.cpp | |
parent | 0732b48be9c6378c31515ed92d29101e3743c8c9 (diff) |
made destination guide url configurable on command line
Diffstat (limited to 'indra/newview/llviewerwindow.cpp')
-rw-r--r-- | indra/newview/llviewerwindow.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/indra/newview/llviewerwindow.cpp b/indra/newview/llviewerwindow.cpp index d2dab8f40c..b1d8e2f353 100644 --- a/indra/newview/llviewerwindow.cpp +++ b/indra/newview/llviewerwindow.cpp @@ -1698,6 +1698,13 @@ void LLViewerWindow::initWorldUI() buttons_panel->setShape(buttons_panel_container->getLocalRect()); buttons_panel->setFollowsAll(); buttons_panel_container->addChild(buttons_panel); + + LLView* destination_guide = gViewerWindow->getRootView()->getChild<LLView>("destination_guide_container"); + LLMediaCtrl* destinations = destination_guide->findChild<LLMediaCtrl>("destination_guide_contents"); + if (destinations) + { + destinations->navigateTo(gSavedSettings.getString("DestinationGuideURL")); + } } // Destroy the UI |