Prevent freeze when left chatroom is opened

This commit is contained in:
Christophe Deschamps 2025-06-10 12:00:23 +02:00
parent c56db0f429
commit 4ef65219ad

View file

@ -220,9 +220,8 @@ RowLayout {
}
ChatDroppableTextArea {
id: messageSender
visible: !mainItem.chat.core.isReadOnly
Layout.fillWidth: true
Layout.preferredHeight: height
Layout.preferredHeight: mainItem.chat.core.isReadOnly ? 0 : height
Component.onCompleted: {
if (mainItem.chat) text = mainItem.chat.core.sendingText
}