Stop "up arrow" keyboard event from propagating furthern when we're going through message history
Fixes #1102
This commit is contained in:
@@ -243,6 +243,10 @@ void SplitInput::installKeyPressedEvent()
|
||||
QTextCursor cursor = this->ui_.textEdit->textCursor();
|
||||
cursor.movePosition(QTextCursor::End);
|
||||
this->ui_.textEdit->setTextCursor(cursor);
|
||||
|
||||
// Don't let the keyboard event propagate further, we've
|
||||
// handled it
|
||||
event->accept();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user