ViewManager/BookmarkedFilesDialog.py

changeset 880
52ed20236a1c
parent 791
9ec2ac20e54e
child 882
34b86be88bf0
equal deleted inserted replaced
878:a61710d5bbbc 880:52ed20236a1c
161 @pyqtSlot() 161 @pyqtSlot()
162 def on_fileButton_clicked(self): 162 def on_fileButton_clicked(self):
163 """ 163 """
164 Private slot to handle the file selection via a file selection dialog. 164 Private slot to handle the file selection via a file selection dialog.
165 """ 165 """
166 bookmark = QFileDialog.getOpenFileName() 166 bookmark = QFileDialog.getOpenFileName(
167 options = QFileDialog.DontUseNativeDialog)
167 if bookmark: 168 if bookmark:
168 bookmark = Utilities.toNativeSeparators(bookmark) 169 bookmark = Utilities.toNativeSeparators(bookmark)
169 self.fileEdit.setText(bookmark) 170 self.fileEdit.setText(bookmark)
170 171
171 def getBookmarkedFiles(self): 172 def getBookmarkedFiles(self):

eric ide

mercurial