on xenial help sign in
Fix small warning when sensitive is undefined
26bc55aAlbert Astals Cid
qml/ApplicationMenus/MenuBar.qml+1−1
@@ -114,7 +114,7 @@ Item {
114
114
115 implicitWidth: column.implicitWidth
115 implicitWidth: column.implicitWidth
116 implicitHeight: row.height
116 implicitHeight: row.height
117− enabled: model.sensitive && shouldDisplay
117+ enabled: (model.sensitive === true) && shouldDisplay
118 opacity: shouldDisplay ? 1 : 0
118 opacity: shouldDisplay ? 1 : 0
119
119
120 function show() {
120 function show() {