X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fuisupport%2Ftabcompleter.cpp;h=5f7b0837bf21ee5a8a16ef9668d7281d0c72b611;hp=7426ed4de3dd616e41ab7454762eb4cd74e49f96;hb=84381d6b74a31c8b1b6468fa490621f8a7a32c23;hpb=93c7fd515792062d325a0d7fd03a965997e62f10 diff --git a/src/uisupport/tabcompleter.cpp b/src/uisupport/tabcompleter.cpp index 7426ed4d..5f7b0837 100644 --- a/src/uisupport/tabcompleter.cpp +++ b/src/uisupport/tabcompleter.cpp @@ -130,6 +130,8 @@ void TabCompleter::complete() { if(_completionType == UserTab && _lineEdit->cursorPosition() == _lastCompletionLength) { _lineEdit->insert(_nickSuffix); _lastCompletionLength += _nickSuffix.length(); + } else if (s.addSpaceMidSentence()) { + _lineEdit->insert(" "); } // we're at the end of the list -> start over again