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();
|
||||
inputField.clear();
|
||||
inputField.text = Qt.binding(function() {
|
||||
return currentRoom ? currentRoom.cachedInput : "";
|
||||
});
|
||||
inputField.text = currentRoom ? currentRoom.cachedInput : "";
|
||||
messageSent()
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user