mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-10-01 02:35:48 -04:00
Fix push contactDetails view when click avatar on it
This commit is contained in:
parent
f77fe533e7
commit
db0292f6e0
@ -28,6 +28,7 @@ Item
|
||||
property var md
|
||||
property bool is_contact: cntDt.md.is_contact
|
||||
property bool isOwn: cntDt.md.own
|
||||
property string objectName: "contactDetails"
|
||||
|
||||
Button
|
||||
{
|
||||
|
@ -97,9 +97,13 @@ Item
|
||||
{
|
||||
console.log("showDetails() ", gxs_id)
|
||||
|
||||
if (stackView.currentItem.objectName != "contactDetails")
|
||||
{
|
||||
stackView.push(
|
||||
"qrc:/ContactDetails.qml",
|
||||
{md: ChatCache.contactsCache.getContactFromGxsId(gxs_id)})
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
Component.onCompleted: startComponent ()
|
||||
|
Loading…
Reference in New Issue
Block a user