Skip to content

Commit

Permalink
リストファイルを開くダイアログにfilterをつけた
Browse files Browse the repository at this point in the history
  • Loading branch information
Sunao HARA committed Sep 28, 2016
1 parent c59a427 commit da9f2fd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arayuru.py
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,7 @@ def next_datafile(self):
self.reset_data()

def open_readfile(self):
filename = QtGui.QFileDialog.getOpenFileName(self, 'OpenFile')
filename = QtGui.QFileDialog.getOpenFileName(self, u'読み上げリストファイルを開く', filter=r'Text Files(*.txt +.tsv *.list);;All Files(*.*)')
if os.path.isfile(filename):
self.load_datafile(filename)
self.reset_data()
Expand Down

0 comments on commit da9f2fd

Please sign in to comment.