root: hideMenu not working when --read-only is set

This commit is contained in:
jean-emmanuel 2025-04-08 10:32:34 +02:00
parent c65d4ed648
commit 98e5670011
2 changed files with 1 additions and 2 deletions

View file

@ -4,6 +4,7 @@
- bug fixes
- file browser: drive listing failing on recent windows
- root: `hideMenu` not working when `--read-only` is set
- widgets
- add `onTouch` to all container widgets

View file

@ -59,8 +59,6 @@ class Root extends StaticProperties(Panel, {visible: true, label: false, id: 'ro
checkMenuVisibility() {
if (READ_ONLY) return
mainMenu = mainMenu || require('../../ui/main-menu')
if (this.getProp('hideMenu')) {