From 335c1463e60b7687be9d8d7e1bf6320ac6d68ceb Mon Sep 17 00:00:00 2001 From: Angela Mazzurco Date: Thu, 7 Sep 2017 18:47:08 +0200 Subject: [PATCH] Open own contact details page when click your identity --- retroshare-qml-app/src/GxsIdentityDelegate.qml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/retroshare-qml-app/src/GxsIdentityDelegate.qml b/retroshare-qml-app/src/GxsIdentityDelegate.qml index 650cf6551..6bdbf2524 100644 --- a/retroshare-qml-app/src/GxsIdentityDelegate.qml +++ b/retroshare-qml-app/src/GxsIdentityDelegate.qml @@ -50,7 +50,14 @@ Item console.log("GxsIntentityDelegate onclicked:", model.name, model.gxs_id) contactsView.searching = false - if(model.own) contactsView.own_gxs_id = model.gxs_id + if(model.own) + { + contactsView.own_gxs_id = model.gxs_id + stackView.push( + "qrc:/ContactDetails.qml", + {md: ChatCache.contactsCache.getContactFromGxsId(model.gxs_id)}) + + } else { startDistantChat()