1
This commit is contained in:
Alex Yatskov 2012-12-25 14:21:10 -08:00
parent b6e7188bdf
commit e6149fa40d

View File

@ -158,7 +158,7 @@ class MainWindowReader(QtGui.QMainWindow, reader_ui.Ui_MainWindowReader):
caption='Select a file to open', caption='Select a file to open',
filter='Text files (*.txt);;Archive files (*.bz2 *.gz *.tar *.tgz);;All files (*.*)' filter='Text files (*.txt);;Archive files (*.bz2 *.gz *.tar *.tgz);;All files (*.*)'
) )
if not filename.isNull(): if filename:
self.openFile(filename) self.openFile(filename)