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.
2 parents a69ee46 + 3eaabc1 commit fc6e6d2Copy full SHA for fc6e6d2
notepad/notepad.py
@@ -123,7 +123,7 @@ def dialog_critical(self, s):
123
dlg.show()
124
125
def file_open(self):
126
- path, _ = QFileDialog.getOpenFileName(self, "Open file", "", "Text documents (*.txt);All files (*.*)")
+ path, _ = QFileDialog.getOpenFileName(self, "Open file", "", "Text documents (*.txt);;All files (*.*)")
127
128
if path:
129
try:
@@ -146,7 +146,7 @@ def file_save(self):
146
self._save_to_path(self.path)
147
148
def file_saveas(self):
149
- path, _ = QFileDialog.getSaveFileName(self, "Save file", "", "Text documents (*.txt);All files (*.*)")
+ path, _ = QFileDialog.getSaveFileName(self, "Save file", "", "Text documents (*.txt);;All files (*.*)")
150
151
if not path:
152
# If dialog is cancelled, will return ''
@@ -185,4 +185,4 @@ def edit_toggle_wrap(self):
185
app.setApplicationName("No2Pads")
186
187
window = MainWindow()
188
- app.exec_()
+ app.exec_()
AltStyle によって変換されたページ (->オリジナル) / アドレス: モード: デフォルト 音声ブラウザ ルビ付き 配色反転 文字拡大 モバイル
0 commit comments