Fix #120.
This commit is contained in:
@@ -41,6 +41,7 @@ Menu {
|
|||||||
roomPanelInput.replyEventID = model.eventId
|
roomPanelInput.replyEventID = model.eventId
|
||||||
roomPanelInput.replyContent = selectedText != "" ? selectedText : model.message
|
roomPanelInput.replyContent = selectedText != "" ? selectedText : model.message
|
||||||
roomPanelInput.isReply = true
|
roomPanelInput.isReply = true
|
||||||
|
roomPanelInput.focus()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
MenuItem {
|
MenuItem {
|
||||||
|
|||||||
@@ -214,7 +214,7 @@ Control {
|
|||||||
selectByMouse: true
|
selectByMouse: true
|
||||||
verticalAlignment: TextEdit.AlignVCenter
|
verticalAlignment: TextEdit.AlignVCenter
|
||||||
|
|
||||||
text: currentRoom ? currentRoom.cachedInput : ""
|
text: currentRoom != null ? currentRoom.cachedInput : ""
|
||||||
|
|
||||||
background: Item {
|
background: Item {
|
||||||
}
|
}
|
||||||
@@ -389,4 +389,8 @@ Control {
|
|||||||
replyEventID = ""
|
replyEventID = ""
|
||||||
replyContent = ""
|
replyContent = ""
|
||||||
}
|
}
|
||||||
|
|
||||||
|
function focus() {
|
||||||
|
inputField.forceActiveFocus()
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user