Close RoomDrawer when opening userdetail while modal

BUG: 457890
This commit is contained in:
Tobias Fella
2022-09-28 08:46:57 +02:00
parent 04182f98f2
commit 727842df4b

View File

@@ -280,6 +280,9 @@ Kirigami.OverlayDrawer {
popup.closed.connect(function() {
userListItem.highlighted = false
})
if (roomDrawer.modal) {
roomDrawer.close()
}
popup.open()
}