Prevent freeze when left chatroom is opened
This commit is contained in:
parent
c56db0f429
commit
4ef65219ad
1 changed files with 1 additions and 2 deletions
|
|
@ -220,9 +220,8 @@ RowLayout {
|
||||||
}
|
}
|
||||||
ChatDroppableTextArea {
|
ChatDroppableTextArea {
|
||||||
id: messageSender
|
id: messageSender
|
||||||
visible: !mainItem.chat.core.isReadOnly
|
|
||||||
Layout.fillWidth: true
|
Layout.fillWidth: true
|
||||||
Layout.preferredHeight: height
|
Layout.preferredHeight: mainItem.chat.core.isReadOnly ? 0 : height
|
||||||
Component.onCompleted: {
|
Component.onCompleted: {
|
||||||
if (mainItem.chat) text = mainItem.chat.core.sendingText
|
if (mainItem.chat) text = mainItem.chat.core.sendingText
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue