summaryrefslogtreecommitdiffstats
path: root/components/mailviewer/qml/MailDataModel.qml
diff options
context:
space:
mode:
Diffstat (limited to 'components/mailviewer/qml/MailDataModel.qml')
-rw-r--r--components/mailviewer/qml/MailDataModel.qml7
1 files changed, 7 insertions, 0 deletions
diff --git a/components/mailviewer/qml/MailDataModel.qml b/components/mailviewer/qml/MailDataModel.qml
index fdc3ce22..099548bf 100644
--- a/components/mailviewer/qml/MailDataModel.qml
+++ b/components/mailviewer/qml/MailDataModel.qml
@@ -24,6 +24,7 @@ DelegateModel {
24 id: root 24 id: root
25 25
26 property string searchString: "" 26 property string searchString: ""
27 property bool autoLoadImages: false
27 28
28 delegate: Item { 29 delegate: Item {
29 id: partColumn 30 id: partColumn
@@ -132,6 +133,12 @@ DelegateModel {
132 value: root.searchString 133 value: root.searchString
133 when: partLoader.status == Loader.Ready 134 when: partLoader.status == Loader.Ready
134 } 135 }
136 Binding {
137 target: partLoader.item
138 property: "autoLoadImages"
139 value: root.autoLoadImages
140 when: partLoader.status == Loader.Ready
141 }
135 } 142 }
136 Component.onCompleted: { 143 Component.onCompleted: {
137 switch (model.type) { 144 switch (model.type) {