root: hideMenu not working when --read-only is set
This commit is contained in:
parent
c65d4ed648
commit
98e5670011
2 changed files with 1 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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')) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue