Skip to content

Commit 8d2e419

Browse files
authored
Fix hamburger menu visibility (#662)
* Fix hamburger menu visibility * Add changelog entry
1 parent bc3f0f7 commit 8d2e419

2 files changed

Lines changed: 4 additions & 0 deletions

File tree

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
## [UNRELEASED] · YYYY-MM-DD
22
### 🔧 Fixed
33
- Show an overwrite confirmation dialog when an export target file already exists instead of raising an error ([#660](https://github.com/cbrnr/mnelab/pull/660) by [Clemens Brunner](https://github.com/cbrnr))
4+
- Fix a regression where the hamburger menu would not be shown after clicking "OK" in the Settings dialog ([#662](https://github.com/cbrnr/mnelab/pull/662) by [Clemens Brunner](https://github.com/cbrnr))
45

56
## [1.5.2] · 2026-05-28
67
### ✨ Added

src/mnelab/mainwindow.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1925,6 +1925,9 @@ def _apply_toolbar(self, action_keys):
19251925
self._hamburger_spacer_widget
19261926
)
19271927
self._hamburger_action = self.toolbar.addWidget(self._hamburger_button)
1928+
hamburger_enabled = not read_settings("show_menubar")
1929+
self._hamburger_spacer_action.setVisible(hamburger_enabled)
1930+
self._hamburger_action.setVisible(hamburger_enabled)
19281931

19291932
@Slot()
19301933
def _show_toolbar_context_menu(self, pos):

0 commit comments

Comments
 (0)