fixes #2939 - autocompletion doesn't work
Merge pull request #24 from mbacovsky/2939_autocompletion

fixes #2939 - autocompletion doesn't work