Skip to content

Commit

Permalink
Focus message input box when pressing Esc
Browse files Browse the repository at this point in the history
This helps with Nheko-Reborn#1065, although I think making sure the message input box gets focus by default would be worthwhile.
  • Loading branch information
foresto authored Aug 19, 2022
1 parent ff87bef commit 4d1a01c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions resources/qml/MessageView.qml
Original file line number Diff line number Diff line change
Expand Up @@ -198,6 +198,7 @@ Item {
chat.model.reply = undefined;
else
chat.model.edit = undefined;
TimelineManager.focusMessageInput();
}
}

Expand Down

0 comments on commit 4d1a01c

Please sign in to comment.