mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-06-05 06:33:57 +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;
|
return;
|
||||||
}
|
}
|
||||||
if (key == Qt::Key_Up && !hasModifiers) {
|
if (key == Qt::Key_Up && !hasModifiers) {
|
||||||
if (!isEditingMessage()) {
|
if (!isEditingMessage() && _field->empty()) {
|
||||||
_editLastMessageRequests.fire(std::move(keyEvent));
|
_editLastMessageRequests.fire(std::move(keyEvent));
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue