X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fuisupport%2Finputline.cpp;h=03087fb610540c461a057bbbac7f01e5568f0194;hp=f9c8a651c37375d06fe658bcbd778d9fe49b0c23;hb=758d3568fe1a9cd08bd6c62c87ac3ac2c48f2f4d;hpb=05085cc94ae70bea59be5a81cdf3ac48d4de604c diff --git a/src/uisupport/inputline.cpp b/src/uisupport/inputline.cpp index f9c8a651..03087fb6 100644 --- a/src/uisupport/inputline.cpp +++ b/src/uisupport/inputline.cpp @@ -241,4 +241,9 @@ void InputLine::resetLine() { void InputLine::showHistoryEntry() { // if the user changed the history, display the changed line tempHistory.contains(idx) ? setText(tempHistory[idx]) : setText(history[idx]); +#ifdef HAVE_KDE + QTextCursor cursor = textCursor(); + cursor.movePosition(QTextCursor::End); + setTextCursor(cursor); +#endif }