Skip to content

Reference shortcut label directly by id instead of implicitly

Arjen Hiemstra requested to merge work/ahiemstra/menuitem_visible into master

Parent can be null in some cases when the binding is executed, so instead reference the shortcut label directly so we avoid a null dereference.

Fixes "TypeError: Cannot read property 'visible' of null" that was produced with recent QQC2-desktop-style.

Merge request reports