Fix getting connection in message edit component
This commit is contained in:
@@ -11,8 +11,7 @@ import org.kde.neochat 1.0
|
|||||||
QQC2.TextArea {
|
QQC2.TextArea {
|
||||||
id: root
|
id: root
|
||||||
|
|
||||||
property NeoChatRoom room
|
required property NeoChatRoom room
|
||||||
required property NeoChatConnection connection
|
|
||||||
onRoomChanged: room.chatBoxEditIdChanged.connect(updateEditText)
|
onRoomChanged: room.chatBoxEditIdChanged.connect(updateEditText)
|
||||||
|
|
||||||
property string messageId
|
property string messageId
|
||||||
@@ -102,7 +101,7 @@ QQC2.TextArea {
|
|||||||
height: implicitHeight
|
height: implicitHeight
|
||||||
y: -height - 5
|
y: -height - 5
|
||||||
z: 10
|
z: 10
|
||||||
connection: root.connection
|
connection: root.room.connection
|
||||||
chatDocumentHandler: documentHandler
|
chatDocumentHandler: documentHandler
|
||||||
Behavior on height {
|
Behavior on height {
|
||||||
NumberAnimation {
|
NumberAnimation {
|
||||||
|
|||||||
Reference in New Issue
Block a user