Skip to content

Commit

Permalink
Merge pull request #2673 from blink1073/fix-ctrl-space
Browse files Browse the repository at this point in the history
Fix single item completion
  • Loading branch information
ccordoba12 committed Sep 14, 2015
2 parents 68da923 + 0d54377 commit c65a4ea
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions spyderlib/widgets/sourcecode/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ def show_list(self, completion_list, automatic=True):
completion_list = [c[0] for c in completion_list]
if len(completion_list) == 1 and not automatic:
self.textedit.insert_completion(completion_list[0])
return

self.completion_list = completion_list
self.clear()
Expand Down

0 comments on commit c65a4ea

Please sign in to comment.