feat: add a quick edit workflow using the up arrow key

neochat now supports a quick edit shortcut, which helps to edit
the last message from the user in a room.

Apply 1 suggestion(s) to 1 file(s)

remove comment
This commit is contained in:
Srevin Saju
2021-04-03 21:05:59 +03:00
parent 75a2ba86ee
commit f007e96fdf
5 changed files with 49 additions and 0 deletions

View File

@@ -17,6 +17,7 @@ Item {
signal fancyEffectsReasonFound(string fancyEffect)
signal messageSent()
signal editLastUserMessage()
Kirigami.Theme.colorSet: Kirigami.Theme.View
@@ -153,6 +154,9 @@ Item {
checkForFancyEffectsReason()
root.messageSent();
}
onEditLastUserMessage: {
root.editLastUserMessage();
}
}
function checkForFancyEffectsReason() {