Fix small warning when sensitive is undefined
commit26bc55a059d68e77bce07f9d8b343d5e3f3a0cbe
authorAlbert Astals Cid <albert.astals@canonical.com>
dateWed 1 Mar 2017, 11:32 (10 years ago)
parent71b62b7
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() {