Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
TASTE
OpenGEODE
Commits
1a1b1cb4
Commit
1a1b1cb4
authored
Oct 06, 2014
by
Maxime Perrotin
Browse files
Autocompletion - replace all dash with underscores
parent
236b7419
Changes
1
Hide whitespace changes
Inline
Side-by-side
TextInteraction.py
View file @
1a1b1cb4
...
...
@@ -52,7 +52,8 @@ class Completer(QGraphicsProxyWidget, object):
def
set_completer_list
(
self
):
''' Set list of items for the autocompleter popup '''
compl
=
list
(
self
.
parent
.
parentItem
().
completion_list
)
compl
=
[
item
.
replace
(
'-'
,
'_'
)
for
item
in
self
.
parent
.
parentItem
().
completion_list
]
self
.
string_list
.
setStringList
(
compl
)
self
.
_completer
.
setModel
(
self
.
string_list
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment