This commit is contained in:
Emma 2026-08-07 13:47:03 +00:00 committed by GitHub
commit 234ae87bcc
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1790,7 +1790,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;
}