Skip to content
Snippets Groups Projects
Commit 5af492f7 authored by Paul McCarthy's avatar Paul McCarthy
Browse files

Disabling wildcard filtering for wx file dialogs, as wx wildcard handling is buggy

parent 9e98963b
No related branches found
No related tags found
No related merge requests found
...@@ -112,11 +112,12 @@ class ImageListPanel(wx.Panel): ...@@ -112,11 +112,12 @@ class ImageListPanel(wx.Panel):
except: lastDir = os.getcwd() except: lastDir = os.getcwd()
wildcard = imagefile.wildcard() wildcard = imagefile.wildcard()
# wx wildcard handling is buggy, so i'm disabling it for now
dlg = wx.FileDialog(self.GetParent(), dlg = wx.FileDialog(self.GetParent(),
message='Open image file', message='Open image file',
defaultDir=lastDir, defaultDir=lastDir,
wildcard=wildcard, # wildcard=wildcard,
style=wx.FD_OPEN) style=wx.FD_OPEN)
if dlg.ShowModal() != wx.ID_OK: return if dlg.ShowModal() != wx.ID_OK: return
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment