Project

General

Profile

0001-Move-cursor-to-end-of-line-when-browsing-history-KT.patch

seezer, 04/09/2009 07:31 PM

View differences:

src/uisupport/inputline.cpp
241 241
void InputLine::showHistoryEntry() {
242 242
  // if the user changed the history, display the changed line
243 243
  tempHistory.contains(idx) ? setText(tempHistory[idx]) : setText(history[idx]);
244
#ifdef HAVE_KDE
245
  QTextCursor cursor = textCursor();
246
  cursor.movePosition(QTextCursor::End);
247
  setTextCursor(cursor);
248
#endif
244 249
}
245
-