Project/SpellingPropertiesDialog.py

changeset 880
52ed20236a1c
parent 791
9ec2ac20e54e
child 882
34b86be88bf0
equal deleted inserted replaced
878:a61710d5bbbc 880:52ed20236a1c
73 pwl = self.project.ppath 73 pwl = self.project.ppath
74 file = QFileDialog.getOpenFileName( 74 file = QFileDialog.getOpenFileName(
75 self, 75 self,
76 self.trUtf8("Select project word list"), 76 self.trUtf8("Select project word list"),
77 pwl, 77 pwl,
78 self.trUtf8("Dictionary File (*.dic);;All Files (*)")) 78 self.trUtf8("Dictionary File (*.dic);;All Files (*)"),
79 QFileDialog.DontUseNativeDialog)
79 80
80 if file: 81 if file:
81 self.pwlEdit.setText(Utilities.toNativeSeparators(file)) 82 self.pwlEdit.setText(Utilities.toNativeSeparators(file))
82 83
83 @pyqtSlot() 84 @pyqtSlot()
90 pel = self.project.ppath 91 pel = self.project.ppath
91 file = QFileDialog.getOpenFileName( 92 file = QFileDialog.getOpenFileName(
92 self, 93 self,
93 self.trUtf8("Select project exclude list"), 94 self.trUtf8("Select project exclude list"),
94 pel, 95 pel,
95 self.trUtf8("Dictionary File (*.dic);;All Files (*)")) 96 self.trUtf8("Dictionary File (*.dic);;All Files (*)"),
97 QFileDialog.DontUseNativeDialog)
96 98
97 if file: 99 if file:
98 self.pelEdit.setText(Utilities.toNativeSeparators(file)) 100 self.pelEdit.setText(Utilities.toNativeSeparators(file))
99 101
100 def storeData(self): 102 def storeData(self):

eric ide

mercurial