summaryrefslogtreecommitdiffstats
path: root/framework/qml/People.qml
diff options
context:
space:
mode:
Diffstat (limited to 'framework/qml/People.qml')
-rw-r--r--framework/qml/People.qml9
1 files changed, 4 insertions, 5 deletions
diff --git a/framework/qml/People.qml b/framework/qml/People.qml
index e8a4fca3..58aa340c 100644
--- a/framework/qml/People.qml
+++ b/framework/qml/People.qml
@@ -26,12 +26,11 @@ import org.kde.kirigami 1.0 as Kirigami
26import org.kube.framework 1.0 as Kube 26import org.kube.framework 1.0 as Kube
27 27
28 28
29Kube.Popup { 29Item {
30 id: popup 30 id: root
31 31
32 property var currentContact 32 property var currentContact
33 33
34 modal: true
35 onVisibleChanged: { 34 onVisibleChanged: {
36 if (visible) { 35 if (visible) {
37 Kube.Fabric.postMessage(Kube.Messages.synchronize, {"type": "contacts"}); 36 Kube.Fabric.postMessage(Kube.Messages.synchronize, {"type": "contacts"});
@@ -143,7 +142,7 @@ Kube.Popup {
143 anchors.fill: parent 142 anchors.fill: parent
144 143
145 onClicked: { 144 onClicked: {
146 popup.currentContact = model.domainObject 145 root.currentContact = model.domainObject
147 stack.push(personPage) 146 stack.push(personPage)
148 } 147 }
149 } 148 }
@@ -197,7 +196,7 @@ Kube.Popup {
197 196
198 Kube.ContactController { 197 Kube.ContactController {
199 id: contactController 198 id: contactController
200 contact: popup.currentContact 199 contact: root.currentContact
201 } 200 }
202 201
203 color: Kube.Colors.viewBackgroundColor 202 color: Kube.Colors.viewBackgroundColor