diff options
Diffstat (limited to 'qt-mobile/qml/mobilecomponents/ContextDrawer.qml')
-rw-r--r-- | qt-mobile/qml/mobilecomponents/ContextDrawer.qml | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/qt-mobile/qml/mobilecomponents/ContextDrawer.qml b/qt-mobile/qml/mobilecomponents/ContextDrawer.qml index 07de5b88d..aea4a5ca5 100644 --- a/qt-mobile/qml/mobilecomponents/ContextDrawer.qml +++ b/qt-mobile/qml/mobilecomponents/ContextDrawer.qml @@ -37,6 +37,9 @@ OverlayDrawer { id: menu interactive: contentHeight > height model: { + if (typeof root.actions == "undefined") { + return null; + } if (root.actions.length == 0) { return null; } else { |