--- a/Project/SpellingPropertiesDialog.py Sat Feb 05 19:55:33 2011 +0100 +++ b/Project/SpellingPropertiesDialog.py Sun Feb 06 15:41:44 2011 +0100 @@ -13,6 +13,7 @@ from PyQt4.QtGui import * from E5Gui.E5Completers import E5FileCompleter +from E5Gui import E5FileDialog from QScintilla.SpellChecker import SpellChecker @@ -71,12 +72,11 @@ pwl = self.pwlEdit.text() if not pwl: pwl = self.project.ppath - file = QFileDialog.getOpenFileName( + file = E5FileDialog.getOpenFileName( self, self.trUtf8("Select project word list"), pwl, - self.trUtf8("Dictionary File (*.dic);;All Files (*)"), - QFileDialog.DontUseNativeDialog) + self.trUtf8("Dictionary File (*.dic);;All Files (*)")) if file: self.pwlEdit.setText(Utilities.toNativeSeparators(file)) @@ -89,12 +89,11 @@ pel = self.pelEdit.text() if not pel: pel = self.project.ppath - file = QFileDialog.getOpenFileName( + file = E5FileDialog.getOpenFileName( self, self.trUtf8("Select project exclude list"), pel, - self.trUtf8("Dictionary File (*.dic);;All Files (*)"), - QFileDialog.DontUseNativeDialog) + self.trUtf8("Dictionary File (*.dic);;All Files (*)")) if file: self.pelEdit.setText(Utilities.toNativeSeparators(file))