From 320f0d20cc5fe56cf73e2ecb2d228196729f680b Mon Sep 17 00:00:00 2001 From: nowrep Date: Fri, 1 Mar 2013 22:53:50 +0100 Subject: [PATCH] [Fix] Make sure both menubar and navigation bar are not hidden. Closes #781 --- src/lib/app/qupzilla.cpp | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/lib/app/qupzilla.cpp b/src/lib/app/qupzilla.cpp index 2218d75bb..95985302a 100644 --- a/src/lib/app/qupzilla.cpp +++ b/src/lib/app/qupzilla.cpp @@ -703,6 +703,14 @@ void QupZilla::loadSettings() m_sideBarWidth = settings.value("SideBarWidth", 250).toInt(); m_webViewWidth = settings.value("WebViewWidth", 2000).toInt(); const QString &activeSideBar = settings.value("SideBar", "None").toString(); + + // Make sure both menubar and navigationbar are not hidden + // Fixes #781 + if (!showNavigationToolbar) { + showMenuBar = true; + settings.setValue("showMenubar", true); + } + settings.endGroup(); settings.beginGroup("Shortcuts");