mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-28 10:32:22 -04:00
Fix push contactDetails view when click avatar on it
This commit is contained in:
parent
f77fe533e7
commit
db0292f6e0
2 changed files with 8 additions and 3 deletions
|
@ -97,9 +97,13 @@ Item
|
|||
{
|
||||
console.log("showDetails() ", gxs_id)
|
||||
|
||||
stackView.push(
|
||||
"qrc:/ContactDetails.qml",
|
||||
{md: ChatCache.contactsCache.getContactFromGxsId(gxs_id)})
|
||||
if (stackView.currentItem.objectName != "contactDetails")
|
||||
{
|
||||
stackView.push(
|
||||
"qrc:/ContactDetails.qml",
|
||||
{md: ChatCache.contactsCache.getContactFromGxsId(gxs_id)})
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
Component.onCompleted: startComponent ()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue