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

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

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Sat, 08 Jun 2013 16:49:31 +0200
changeset 2701
7904fd3bc30d
parent 2699
dd62671c6d5a
child 2703
910bdc75c757

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

UI/FindFileNameDialog.py file | annotate | diff | comparison | revisions
diff -r dd62671c6d5a -r 7904fd3bc30d UI/FindFileNameDialog.py
--- 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