Bring back old inputline history behavior
authorManuel Nickschas <sputnick@quassel-irc.org>
Tue, 18 Aug 2009 12:29:32 +0000 (14:29 +0200)
committerManuel Nickschas <sputnick@quassel-irc.org>
Tue, 18 Aug 2009 12:29:32 +0000 (14:29 +0200)
Cursor down now again always saves the current line in history and starts a new one.
Brought back from the dead by user request.

src/uisupport/multilineedit.cpp

index 5b81ab3..77e2cc6 100644 (file)
@@ -169,6 +169,9 @@ void MultiLineEdit::historyMoveForward() {
       showHistoryEntry();
     else
       reset();              // equals clear() in this case
+  } else {
+    addToHistory(text());
+    reset();
   }
 }