Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
FSL
fsleyes
fsleyes
Commits
fb1a5ff4
Commit
fb1a5ff4
authored
May 01, 2022
by
Paul McCarthy
🚵
Browse files
RF: make callback public for testing
parent
a6c83ebb
Changes
1
Hide whitespace changes
Inline
Side-by-side
fsleyes/plugins/controls/filetreepanel/filetreepanel.py
View file @
fb1a5ff4
...
...
@@ -439,7 +439,7 @@ class FileTypePanel(elb.EditableListBox):
toggle
=
wx
.
CheckBox
(
self
)
toggle
.
SetMinSize
(
toggle
.
GetBestSize
())
self
.
Append
(
ftype
,
extraWidget
=
toggle
)
toggle
.
Bind
(
wx
.
EVT_CHECKBOX
,
self
.
__
onToggle
)
toggle
.
Bind
(
wx
.
EVT_CHECKBOX
,
self
.
onToggle
)
def
GetFileTypes
(
self
):
...
...
@@ -456,7 +456,7 @@ class FileTypePanel(elb.EditableListBox):
return
active
def
__
onToggle
(
self
,
ev
):
def
onToggle
(
self
,
ev
):
"""Called when a file type is toggled. Calls the
:meth:`FileTreePanel.Update` method.
"""
...
...
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