Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
TASTE
asn1-value-editor
Commits
1a77c12a
Commit
1a77c12a
authored
Jul 06, 2015
by
Maxime Perrotin
Browse files
Fix update of global state window data
parent
29e518e8
Changes
1
Hide whitespace changes
Inline
Side-by-side
asn1_value_editor/asn1_value_editor.py
View file @
1a77c12a
...
...
@@ -393,13 +393,14 @@ class asn1Editor(QTreeView):
seqOf
=
True
for
i
in
range
(
nbRows
):
name
=
root
.
child
(
i
,
0
).
text
()
name_u
=
name
.
replace
(
'-'
,
'_'
)
asnType
=
root
.
child
(
i
,
1
).
text
()
child
=
root
.
child
(
i
,
3
)
if
seqOf
:
value
=
var
[
i
]
else
:
if
name
in
var
:
value
=
var
[
name
]
if
name
in
var
or
name_u
in
var
:
value
=
var
.
get
(
name
,
var
[
name
_u
])
else
:
continue
if
asnType
in
(
'INTEGER'
,
'REAL'
,
'SEQOF'
):
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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