Fixed editing on Up arrow in sections with non-empty input field.

This commit is contained in:
23rd 2021-08-23 08:52:35 +03:00
parent ddd5617043
commit 3a92a181a1
1 changed files with 1 additions and 1 deletions

View File

@ -1094,7 +1094,7 @@ void ComposeControls::initKeyHandler() {
return;
}
if (key == Qt::Key_Up && !hasModifiers) {
if (!isEditingMessage()) {
if (!isEditingMessage() && _field->empty()) {
_editLastMessageRequests.fire(std::move(keyEvent));
return;
}