1
mirror of https://invent.kde.org/network/falkon.git synced 2024-09-21 17:52:10 +02:00

[Fix] Make sure both menubar and navigation bar are not hidden.

Closes #781
This commit is contained in:
nowrep 2013-03-01 22:53:50 +01:00
parent b1eca8095e
commit 320f0d20cc

View File

@ -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");