Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Scientific Software
MDANSE
Commits
cf7904bd
Commit
cf7904bd
authored
Jan 27, 2016
by
eric pellegrini
Browse files
The menu button for the file formats is now hidden in case of a single
file format
parent
79637e65
Changes
1
Hide whitespace changes
Inline
Side-by-side
MDANSE/Framework/Widgets/OutputFilesWidget.py
View file @
cf7904bd
...
...
@@ -61,6 +61,9 @@ class OutputFilesWidget(IWidget):
sizer
.
Add
(
hSizer
,
0
,
wx
.
ALL
|
wx
.
EXPAND
,
0
)
if
len
(
self
.
_configurator
.
formats
)
==
1
:
self
.
_formats
.
Hide
()
return
sizer
def
get_widget_value
(
self
):
...
...
Write
Preview
Markdown
is supported
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