X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fuisupport%2Ftabcompleter.cpp;h=5d2bf027b680dc0129c30035bac06656c85e72db;hp=2c15fdb1793c8f9f92d1d2fd3071e34d35bb957c;hb=18931d024940d902ed8b1e241fbdeb98d2f1b424;hpb=45b1e4d624e36de4e21cb647706d9b46091210bf diff --git a/src/uisupport/tabcompleter.cpp b/src/uisupport/tabcompleter.cpp index 2c15fdb1..5d2bf027 100644 --- a/src/uisupport/tabcompleter.cpp +++ b/src/uisupport/tabcompleter.cpp @@ -144,6 +144,7 @@ void TabCompleter::complete() { _lastCompletionLength += _nickSuffix.length(); } else if (s.addSpaceMidSentence()) { _lineEdit->insert(" "); + _lastCompletionLength++; } // we're at the end of the list -> start over again