mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-04-16 14:17:12 +02:00
Fixed editing on Up arrow in sections with non-empty input field.
This commit is contained in:
parent
ddd5617043
commit
3a92a181a1
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue