summary refs log tree commit diff
path: root/resources
diff options
context:
space:
mode:
authorForest <foresto@users.noreply.github.com>2022-08-19 07:41:22 +0000
committerGitHub <noreply@github.com>2022-08-19 07:41:22 +0000
commit4d1a01c829a18f194c1a9a0ab4eac8b5a5977d17 (patch)
tree7413f01c5b07f184d36de59d3c20c6cb8e14b7f7 /resources
parentFix inline image escape order (diff)
downloadnheko-4d1a01c829a18f194c1a9a0ab4eac8b5a5977d17.tar.xz
Focus message input box when pressing Esc
This helps with #1065, although I think making sure the message input box gets focus by default would be worthwhile.
Diffstat (limited to 'resources')
-rw-r--r--resources/qml/MessageView.qml1
1 files changed, 1 insertions, 0 deletions
diff --git a/resources/qml/MessageView.qml b/resources/qml/MessageView.qml
index ef11f886..fd533229 100644
--- a/resources/qml/MessageView.qml
+++ b/resources/qml/MessageView.qml
@@ -198,6 +198,7 @@ Item {
                     chat.model.reply = undefined;
                 else
                     chat.model.edit = undefined;
+                TimelineManager.focusMessageInput();
             }
         }