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
aa76969a
Commit
aa76969a
authored
Sep 05, 2016
by
Maxime Perrotin
Browse files
Use the right attribute
parent
4ecfd68d
Changes
2
Hide whitespace changes
Inline
Side-by-side
opengeode/opengeode.py
View file @
aa76969a
...
...
@@ -2240,7 +2240,8 @@ class OG_MainWindow(QtGui.QMainWindow, object):
# Update the data dictionary
item
=
self
.
datadict
.
topLevelItem
(
0
)
item
.
takeChildren
()
# remove old children
for
name
,
sort
in
sorted
(
ast
.
dataview
.
viewitems
(),
key
=
lambda
(
x
,
_
):
x
):
for
name
,
sort
in
sorted
(
ast
.
dataview
.
viewitems
(),
key
=
lambda
(
name
,
sort
):
name
):
new_item
=
QtGui
.
QTreeWidgetItem
(
item
,
[
name
.
replace
(
'-'
,
'_'
),
'view'
])
...
...
opengeode/sdlSymbols.py
View file @
aa76969a
...
...
@@ -1053,7 +1053,7 @@ class Process(HorizontalSymbol):
def
update_completion_list
(
self
,
pr_text
):
''' When text was entered, update completion list at block level '''
for
each
in
CONTEXT
.
processes
:
if
unicode
(
self
.
text
).
lower
()
==
each
.
inputString
:
if
unicode
(
self
.
text
).
lower
()
==
each
.
processName
:
break
else
:
new_proc
=
ogAST
.
Process
()
...
...
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