--- a/QScintilla/Editor.py Wed Nov 10 19:40:31 2010 +0100 +++ b/QScintilla/Editor.py Fri Nov 12 19:17:44 2010 +0100 @@ -2367,6 +2367,9 @@ QFileDialog.Options(QFileDialog.DontConfirmOverwrite)) if fn: + if fn.endswith("."): + fn = fn[:-1] + ext = QFileInfo(fn).suffix() if not ext: ex = selectedFilter.split("(*")[1].split(")")[0]