lovely
This commit is contained in:
parent
b6e7188bdf
commit
e6149fa40d
@ -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)
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user