recursive call to openWaveFormData deleted
This commit is contained in:
parent
81ce161744
commit
922cb6a807
@ -340,16 +340,12 @@ class MainWindow(QMainWindow):
|
|||||||
return True
|
return True
|
||||||
|
|
||||||
def openWaveformData(self):
|
def openWaveformData(self):
|
||||||
try:
|
|
||||||
if self.fnames and self.okToContinue():
|
if self.fnames and self.okToContinue():
|
||||||
self.dirty = True
|
self.dirty = True
|
||||||
self.data.wfdata = self.data.setWFData(self.fnames)
|
self.data.setWFData(self.fnames)
|
||||||
elif self.fnames is None and self.okToContinue():
|
elif self.fnames is None and self.okToContinue():
|
||||||
self.data.setWFData(self.getWFFnames())
|
self.data.setWFData(self.getWFFnames())
|
||||||
except AttributeError, e:
|
self.plotData()
|
||||||
print (e)
|
|
||||||
self.getWFFnames()
|
|
||||||
self.openWaveformData()
|
|
||||||
|
|
||||||
def plotData(self):
|
def plotData(self):
|
||||||
self.getData().plotData(self.getDataWidget())
|
self.getData().plotData(self.getDataWidget())
|
||||||
|
Loading…
Reference in New Issue
Block a user