A little Mac related fix. 5_1_x

Sat, 22 Oct 2011 13:23:34 +0200

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Sat, 22 Oct 2011 13:23:34 +0200
branch
5_1_x
changeset 1379
60cac11fcfb2
parent 1372
78a9250e52de
child 1382
aeff1f957f7d

A little Mac related fix.

E5Gui/E5FileDialog.py file | annotate | diff | comparison | revisions
--- a/E5Gui/E5FileDialog.py	Tue Oct 18 18:57:12 2011 +0200
+++ b/E5Gui/E5FileDialog.py	Sat Oct 22 13:23:34 2011 +0200
@@ -31,7 +31,7 @@
     @param initialFilter initial filter (string)
     @return the rearranged Qt file filter (string)
     """
-    if initialFilter:
+    if initialFilter and not Globals.isMacPlatform():
         fileFilters = filter.split(';;')
         if len(fileFilters) < 10 and initialFilter in fileFilters:
             fileFilters.remove(initialFilter)

eric ide

mercurial