Commits

Alex Grönholm committed 1b0a94f

Fixed usage of the a wrong variable during computation of the description variable

Comments (0)

Files changed (1)

swingutils/dialogs/filechooser.py

         if not self.preferred.startswith(u'.'):
             self.preferred = u'.%s' % self.preferred
 
-        self._description = description or u'%s files' % preferred[1:].upper()
+        self._description = description or u'%s files' % self.preferred[1:].upper()
 
     #
     # FileFilter methods