Change the input field text being set after posting message to not use a Qt.binding fucntion so that the the same room in two windows doesn't get the textfields bound together.
This commit is contained in:
@@ -405,9 +405,7 @@ ToolBar {
|
|||||||
}
|
}
|
||||||
currentRoom.markAllMessagesAsRead();
|
currentRoom.markAllMessagesAsRead();
|
||||||
inputField.clear();
|
inputField.clear();
|
||||||
inputField.text = Qt.binding(function() {
|
inputField.text = currentRoom ? currentRoom.cachedInput : "";
|
||||||
return currentRoom ? currentRoom.cachedInput : "";
|
|
||||||
});
|
|
||||||
messageSent()
|
messageSent()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user