summaryrefslogtreecommitdiffstats
path: root/qt-mobile/qml/mobilecomponents/ContextDrawer.qml
diff options
context:
space:
mode:
Diffstat (limited to 'qt-mobile/qml/mobilecomponents/ContextDrawer.qml')
-rw-r--r--qt-mobile/qml/mobilecomponents/ContextDrawer.qml3
1 files changed, 2 insertions, 1 deletions
diff --git a/qt-mobile/qml/mobilecomponents/ContextDrawer.qml b/qt-mobile/qml/mobilecomponents/ContextDrawer.qml
index 575ac3679..088399721 100644
--- a/qt-mobile/qml/mobilecomponents/ContextDrawer.qml
+++ b/qt-mobile/qml/mobilecomponents/ContextDrawer.qml
@@ -67,10 +67,11 @@ OverlayDrawer {
}
}
delegate: BasicListItem {
- enabled: true
checked: modelData.checked
icon: modelData.iconName
label: model ? model.text : modelData.text
+ enabled: model ? model.enabled : modelData.enabled
+ opacity: enabled ? 1.0 : 0.6
onClicked: {
if (modelData && modelData.trigger !== undefined) {
modelData.trigger();