A little change to the find file dialog so that an extension is matched exactly. 5_3_x

Sat, 08 Jun 2013 16:49:31 +0200

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Sat, 08 Jun 2013 16:49:31 +0200
branch
5_3_x
changeset 2702
fde9eead94c0
parent 2700
cb064ba8fcfa
child 2705
ed1f6bea3a0a

A little change to the find file dialog so that an extension is matched exactly.

UI/FindFileNameDialog.py file | annotate | diff | comparison | revisions
--- a/UI/FindFileNameDialog.py	Wed Jun 05 20:23:59 2013 +0200
+++ b/UI/FindFileNameDialog.py	Sat Jun 08 16:49:31 2013 +0200
@@ -102,7 +102,7 @@
             self.fileList.clear()
             return
         
-        patternFormat = fileExt and "{0}{1}{2}*" or "{0}*{1}{2}"
+        patternFormat = fileExt and "{0}{1}{2}" or "{0}*{1}{2}"
         fileNamePattern = patternFormat.format(fileName, os.extsep,
             fileExt and fileExt or '*')
         

eric ide

mercurial