macOS: Never hide menu bar (#1989)
Some checks failed
Build check / build (push) Has been cancelled
Generate translation template / generate-pot (push) Has been cancelled

This commit is contained in:
Emma
2026-09-02 04:09:03 +01:00
committed by GitHub
parent 5ead58008d
commit 5f7f0a805b

View File

@@ -1801,7 +1801,9 @@ void MainWindow::SetMenuVisible(bool state)
if (m_menu_visible == state)
return;
#if !BOOST_OS_MACOS
SetMenuBar(state ? m_menuBar : nullptr);
#endif
m_menu_visible = state;
}