mirror of
https://invent.kde.org/network/falkon.git
synced 2024-12-20 18:56:34 +01:00
[Fix] Make sure both menubar and navigation bar are not hidden.
Closes #781
This commit is contained in:
parent
b1eca8095e
commit
320f0d20cc
@ -703,6 +703,14 @@ void QupZilla::loadSettings()
|
|||||||
m_sideBarWidth = settings.value("SideBarWidth", 250).toInt();
|
m_sideBarWidth = settings.value("SideBarWidth", 250).toInt();
|
||||||
m_webViewWidth = settings.value("WebViewWidth", 2000).toInt();
|
m_webViewWidth = settings.value("WebViewWidth", 2000).toInt();
|
||||||
const QString &activeSideBar = settings.value("SideBar", "None").toString();
|
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.endGroup();
|
||||||
|
|
||||||
settings.beginGroup("Shortcuts");
|
settings.beginGroup("Shortcuts");
|
||||||
|
Loading…
Reference in New Issue
Block a user