Commit 9cec3f0b819f397e3a58544217bbd1fd46f9b580
1 parent
fa85ee45
Exists in
master
and in
68 other branches
ENH: Open project dialog under darwin (default filter)
Showing
1 changed file
with
2 additions
and
5 deletions
Show diff stats
invesalius/gui/dialogs.py
... | ... | @@ -143,11 +143,8 @@ def ShowOpenProjectDialog(): |
143 | 143 | defaultFile="", wildcard=WILDCARD_OPEN, |
144 | 144 | style=wx.OPEN|wx.CHANGE_DIR) |
145 | 145 | |
146 | - # In OSX this filter is not working - wxPython 2.8.10 problem | |
147 | - if sys.platform != 'darwin': | |
148 | - dlg.SetFilterIndex(0) | |
149 | - else: | |
150 | - dlg.SetFilterIndex(1) | |
146 | + # inv3 filter is default | |
147 | + dlg.SetFilterIndex(0) | |
151 | 148 | |
152 | 149 | # Show the dialog and retrieve the user response. If it is the OK response, |
153 | 150 | # process the data. | ... | ... |