diff options
Diffstat (limited to 'components/mailviewer/qml/MailDataModel.qml')
-rw-r--r-- | components/mailviewer/qml/MailDataModel.qml | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/components/mailviewer/qml/MailDataModel.qml b/components/mailviewer/qml/MailDataModel.qml index d960b2ac..fdc3ce22 100644 --- a/components/mailviewer/qml/MailDataModel.qml +++ b/components/mailviewer/qml/MailDataModel.qml | |||
@@ -23,6 +23,8 @@ import org.kube.framework 1.0 as Kube | |||
23 | DelegateModel { | 23 | DelegateModel { |
24 | id: root | 24 | id: root |
25 | 25 | ||
26 | property string searchString: "" | ||
27 | |||
26 | delegate: Item { | 28 | delegate: Item { |
27 | id: partColumn | 29 | id: partColumn |
28 | 30 | ||
@@ -124,6 +126,12 @@ DelegateModel { | |||
124 | } | 126 | } |
125 | height: item ? item.contentHeight : 0 | 127 | height: item ? item.contentHeight : 0 |
126 | width: parent.width | 128 | width: parent.width |
129 | Binding { | ||
130 | target: partLoader.item | ||
131 | property: "searchString" | ||
132 | value: root.searchString | ||
133 | when: partLoader.status == Loader.Ready | ||
134 | } | ||
127 | } | 135 | } |
128 | Component.onCompleted: { | 136 | Component.onCompleted: { |
129 | switch (model.type) { | 137 | switch (model.type) { |