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:
James Graham
2022-08-27 15:11:46 +01:00
parent 696b34e094
commit 27455626fc

View File

@@ -405,9 +405,7 @@ ToolBar {
}
currentRoom.markAllMessagesAsRead();
inputField.clear();
inputField.text = Qt.binding(function() {
return currentRoom ? currentRoom.cachedInput : "";
});
inputField.text = currentRoom ? currentRoom.cachedInput : "";
messageSent()
}