mirror of
https://github.com/qTox/qTox.git
synced 2024-03-22 14:00:36 +08:00
Merge pull request #5027
Only merged one commit, because of an unnecessary merge of master
This commit is contained in:
commit
0be49c648c
|
@ -58,7 +58,7 @@ void ChatTextEdit::keyPressEvent(QKeyEvent* event)
|
|||
return;
|
||||
}
|
||||
if (key == Qt::Key_Up && this->toPlainText().isEmpty()) {
|
||||
this->setText(lastMessage);
|
||||
this->setPlainText(lastMessage);
|
||||
this->setFocus();
|
||||
this->moveCursor(QTextCursor::MoveOperation::End, QTextCursor::MoveMode::MoveAnchor);
|
||||
return;
|
||||
|
|
Loading…
Reference in New Issue
Block a user