We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 75d57ef commit 27cd333Copy full SHA for 27cd333
ReText/config.py
@@ -53,7 +53,11 @@ def processClick(self):
53
startDir = (QFileInfo(self.fileName).absolutePath()
54
if self.fileName else '')
55
self.fileName = QFileDialog.getOpenFileName(
56
- self, self.tr('Select file to open'), startDir)[0]
+ self,
57
+ self.tr('Select file to open'),
58
+ startDir,
59
+ self.tr('CSS files (*.css)') + ';;' + self.tr('All files (*)'),
60
+ )[0]
61
self.updateLabelText()
62
63
class DirectorySelectButton(FileDialogButton):
0 commit comments