From 9cec3f0b819f397e3a58544217bbd1fd46f9b580 Mon Sep 17 00:00:00 2001 From: tatiana Date: Tue, 5 Jan 2010 10:33:59 +0000 Subject: [PATCH] ENH: Open project dialog under darwin (default filter) --- invesalius/gui/dialogs.py | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/invesalius/gui/dialogs.py b/invesalius/gui/dialogs.py index c5abd69..56404bd 100644 --- a/invesalius/gui/dialogs.py +++ b/invesalius/gui/dialogs.py @@ -143,11 +143,8 @@ def ShowOpenProjectDialog(): defaultFile="", wildcard=WILDCARD_OPEN, style=wx.OPEN|wx.CHANGE_DIR) - # In OSX this filter is not working - wxPython 2.8.10 problem - if sys.platform != 'darwin': - dlg.SetFilterIndex(0) - else: - dlg.SetFilterIndex(1) + # inv3 filter is default + dlg.SetFilterIndex(0) # Show the dialog and retrieve the user response. If it is the OK response, # process the data. -- libgit2 0.21.2