bugfix: wrong return type expectation corrected
This commit is contained in:
parent
4184fcffdc
commit
cc002c9460
@ -265,10 +265,10 @@ class MainWindow(QMainWindow):
|
|||||||
filt = "Supported event formats (*.mat *.qml *.xml " \
|
filt = "Supported event formats (*.mat *.qml *.xml " \
|
||||||
"*.kor *.evt)"
|
"*.kor *.evt)"
|
||||||
caption = 'Select event to open'
|
caption = 'Select event to open'
|
||||||
fname, = QFileDialog().getOpenFileName(self,
|
fname = QFileDialog().getOpenFileName(self,
|
||||||
caption=caption,
|
caption=caption,
|
||||||
filter=filt)
|
filter=filt)
|
||||||
self.fname = fname
|
self.fname = fname[0]
|
||||||
else:
|
else:
|
||||||
self.fname = unicode(action.data().toString())
|
self.fname = unicode(action.data().toString())
|
||||||
if not self.okToContinue():
|
if not self.okToContinue():
|
||||||
|
Loading…
Reference in New Issue
Block a user