fix(@desktop/chat): Hide create chat panel when some other menu items are selected
Fix #7675
This commit is contained in:
parent
d8bda2490a
commit
a46206e4fd
|
@ -22,6 +22,10 @@ StackLayout {
|
||||||
|
|
||||||
clip: true
|
clip: true
|
||||||
|
|
||||||
|
onCurrentIndexChanged: {
|
||||||
|
Global.closeCreateChatView()
|
||||||
|
}
|
||||||
|
|
||||||
Component {
|
Component {
|
||||||
id: membershipRequestPopupComponent
|
id: membershipRequestPopupComponent
|
||||||
MembershipRequestsPopup {
|
MembershipRequestsPopup {
|
||||||
|
|
|
@ -776,6 +776,8 @@ Item {
|
||||||
if (!obj)
|
if (!obj)
|
||||||
return
|
return
|
||||||
|
|
||||||
|
createChatView.opened = false
|
||||||
|
|
||||||
if (obj === browserLayoutContainer && browserLayoutContainer.active == false) {
|
if (obj === browserLayoutContainer && browserLayoutContainer.active == false) {
|
||||||
browserLayoutContainer.active = true;
|
browserLayoutContainer.active = true;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue