Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Scientific Software
MDANSE
Commits
1ac79dbf
Commit
1ac79dbf
authored
Jul 09, 2015
by
eric pellegrini
Browse files
Modified configurators widget according to the change in Configurable
class
parent
7831fa64
Changes
21
Hide whitespace changes
Inline
Side-by-side
MDANSE/App/GUI/Framework/Widgets/VectorWidget.py
View file @
1ac79dbf
...
...
@@ -76,10 +76,10 @@ class VectorConfigurator(IWidget):
try
:
val
=
(
self
.
configurator
.
valueType
(
self
.
_x
.
GetValue
()),
self
.
configurator
.
valueType
(
self
.
_y
.
GetValue
()),
self
.
configurator
.
valueType
(
self
.
_z
.
GetValue
()))
val
=
(
self
.
_
configurator
.
valueType
(
self
.
_x
.
GetValue
()),
self
.
_
configurator
.
valueType
(
self
.
_y
.
GetValue
()),
self
.
_
configurator
.
valueType
(
self
.
_z
.
GetValue
()))
except
ValueError
:
raise
ConfigurationError
(
"Invalid value for %r entry"
%
self
.
configurator
.
name
)
raise
ConfigurationError
(
"Invalid value for %r entry"
%
self
.
name
)
else
:
return
val
Prev
1
2
Next
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