diff options
| author | 2008-10-21 17:22:50 +0000 | |
|---|---|---|
| committer | 2008-10-21 17:22:50 +0000 | |
| commit | 90f0e9cd01dc9c1e442b61002dda18c81d6880d8 (patch) | |
| tree | 5ae90b3a8298523967b6c5c5d0e6aebf410fd003 /src | |
| parent | more work on identity profiles (wip) (diff) | |
| download | KVIrc-90f0e9cd01dc9c1e442b61002dda18c81d6880d8.tar.gz KVIrc-90f0e9cd01dc9c1e442b61002dda18c81d6880d8.tar.bz2 KVIrc-90f0e9cd01dc9c1e442b61002dda18c81d6880d8.zip | |
another fix in the input completition.
git-svn-id: https://svn.kvirc.de/svn/trunk/kvirc@2767 17fca916-40b9-46aa-a4ea-0a15b648b75c
Diffstat (limited to 'src')
| -rw-r--r-- | src/kvirc/ui/kvi_input_editor.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/kvirc/ui/kvi_input_editor.cpp b/src/kvirc/ui/kvi_input_editor.cpp index fbc38ec30..fc021bdcb 100644 --- a/src/kvirc/ui/kvi_input_editor.cpp +++ b/src/kvirc/ui/kvi_input_editor.cpp @@ -1759,6 +1759,7 @@ void KviInputEditor::completion(bool bShift) if(tmp.count() == 1) { szMatch = *(tmp.first()); + if (szMatch.left(1)=='$')szMatch.remove(0,1); if(bIsCommand && szMatch.right(1)!='.')szMatch.append(' '); else if(bIsFunction && szMatch.right(1)!='.')szMatch.append('('); else if(bIsNick) @@ -1774,6 +1775,7 @@ void KviInputEditor::completion(bool bShift) QString * szTmp = tmp.first(); szMatch = *szTmp; int iWLen = szWord.length(); + if (szMatch.left(1)=='$')szMatch.remove(0,1); for(; szTmp; szTmp = tmp.next()) { if(szTmp->length() < szMatch.length()) |
