Fixed editing on Up arrow in sections with non-empty input field.
This commit is contained in:
parent
ddd5617043
commit
3a92a181a1
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue