From b6b861eaaf7a5c4a5bac6064c90fcee88f177dda Mon Sep 17 00:00:00 2001 From: Andrew Dyukov Date: Fri, 11 Dec 2009 22:03:17 +0200 Subject: Fixed normal bug EXT-2724 (Mini map mimimizes underneath Nav bar when Favorites bar has been hidden) and partially fixed EXT-2742 (Invalid menu appearance after hiding navigation bar and/or favorites bar). Problem in fixed part of EXT-2742 was the same as the one which caused EXT-2724. --HG-- branch : product-engine --- indra/newview/llviewerwindow.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'indra/newview/llviewerwindow.cpp') diff --git a/indra/newview/llviewerwindow.cpp b/indra/newview/llviewerwindow.cpp index 79c113f036..944fddbb50 100644 --- a/indra/newview/llviewerwindow.cpp +++ b/indra/newview/llviewerwindow.cpp @@ -1526,12 +1526,12 @@ void LLViewerWindow::initWorldUI() if (!gSavedSettings.getBOOL("ShowNavbarNavigationPanel")) { - toggle_show_navigation_panel(LLSD(0)); + navbar->showNavigationPanel(FALSE); } if (!gSavedSettings.getBOOL("ShowNavbarFavoritesPanel")) { - toggle_show_favorites_panel(LLSD(0)); + navbar->showFavoritesPanel(FALSE); } if (!gSavedSettings.getBOOL("ShowCameraButton")) -- cgit v1.2.3