on xenial help sign in
Fix small warning when sensitive is undefined

Approved by: Daniel d'Andrada, Unity8 CI Bot

commit907c0dbea812c08ee601a80323ad11b818ce536b authorAlbert Astals Cid <albert.astals@canonical.com> dateWed 8 Mar 2017, 09:52 (10 years ago) parent89290b026bc55a
1 file changed+1−1
qml/ApplicationMenus/MenuBar.qml+1−1
qml/ApplicationMenus/MenuBar.qml+1−1
@@ -114,7 +114,7 @@ Item {
114114
115115 implicitWidth: column.implicitWidth
116116 implicitHeight: row.height
117− enabled: model.sensitive && shouldDisplay
117+ enabled: (model.sensitive === true) && shouldDisplay
118118 opacity: shouldDisplay ? 1 : 0
119119
120120 function show() {