Fix formatting
This commit is contained in:
@@ -305,7 +305,7 @@ ToolBar {
|
|||||||
if (event.modifiers & Qt.ShiftModifier) {
|
if (event.modifiers & Qt.ShiftModifier) {
|
||||||
insert(cursorPosition, "<br />")
|
insert(cursorPosition, "<br />")
|
||||||
} else {
|
} else {
|
||||||
postMessage(text)
|
postMessage()
|
||||||
text = ""
|
text = ""
|
||||||
clearReply()
|
clearReply()
|
||||||
closeAll()
|
closeAll()
|
||||||
@@ -392,7 +392,7 @@ ToolBar {
|
|||||||
function postMessage() {
|
function postMessage() {
|
||||||
documentHandler.postMessage(attachmentPath, replyEventID);
|
documentHandler.postMessage(attachmentPath, replyEventID);
|
||||||
clearAttachment();
|
clearAttachment();
|
||||||
currentRoom.markAllMessagesAsRead();
|
currentRoom.markAllMessagesAsRead();
|
||||||
clear();
|
clear();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -451,7 +451,7 @@ ToolBar {
|
|||||||
icon.color: "transparent"
|
icon.color: "transparent"
|
||||||
|
|
||||||
onClicked: {
|
onClicked: {
|
||||||
inputField.postMessage(inputField.text)
|
inputField.postMessage()
|
||||||
inputField.text = ""
|
inputField.text = ""
|
||||||
root.clearReply()
|
root.clearReply()
|
||||||
root.closeAll()
|
root.closeAll()
|
||||||
|
|||||||
Reference in New Issue
Block a user