Project/SpellingPropertiesDialog.py

changeset 880
52ed20236a1c
parent 791
9ec2ac20e54e
child 882
34b86be88bf0
--- a/Project/SpellingPropertiesDialog.py	Sat Feb 05 14:21:37 2011 +0100
+++ b/Project/SpellingPropertiesDialog.py	Sat Feb 05 16:32:34 2011 +0100
@@ -75,7 +75,8 @@
             self,
             self.trUtf8("Select project word list"),
             pwl,
-            self.trUtf8("Dictionary File (*.dic);;All Files (*)"))
+            self.trUtf8("Dictionary File (*.dic);;All Files (*)"), 
+            QFileDialog.DontUseNativeDialog)
         
         if file:
             self.pwlEdit.setText(Utilities.toNativeSeparators(file))
@@ -92,7 +93,8 @@
             self,
             self.trUtf8("Select project exclude list"),
             pel,
-            self.trUtf8("Dictionary File (*.dic);;All Files (*)"))
+            self.trUtf8("Dictionary File (*.dic);;All Files (*)"), 
+            QFileDialog.DontUseNativeDialog)
             
         if file:
             self.pelEdit.setText(Utilities.toNativeSeparators(file))
@@ -110,4 +112,4 @@
         self.project.pdata["SPELLWORDS"] = \
             [self.project.getRelativePath(self.pwlEdit.text())]
         self.project.pdata["SPELLEXCLUDES"] = \
-            [self.project.getRelativePath(self.pelEdit.text())]
\ No newline at end of file
+            [self.project.getRelativePath(self.pelEdit.text())]

eric ide

mercurial