From: Manuel Nickschas Date: Tue, 18 Aug 2009 12:29:32 +0000 (+0200) Subject: Bring back old inputline history behavior X-Git-Tag: 0.5-rc1~58 X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=commitdiff_plain;h=16b5271810620055f776d3b09f042451a108468f Bring back old inputline history behavior Cursor down now again always saves the current line in history and starts a new one. Brought back from the dead by user request. --- diff --git a/src/uisupport/multilineedit.cpp b/src/uisupport/multilineedit.cpp index 5b81ab32..77e2cc6c 100644 --- a/src/uisupport/multilineedit.cpp +++ b/src/uisupport/multilineedit.cpp @@ -169,6 +169,9 @@ void MultiLineEdit::historyMoveForward() { showHistoryEntry(); else reset(); // equals clear() in this case + } else { + addToHistory(text()); + reset(); } }