recursive call to openWaveFormData deleted

This commit is contained in:
Sebastian Wehling-Benatelli 2015-02-13 11:20:29 +01:00
parent 81ce161744
commit 922cb6a807

View File

@ -340,16 +340,12 @@ class MainWindow(QMainWindow):
return True
def openWaveformData(self):
try:
if self.fnames and self.okToContinue():
self.dirty = True
self.data.wfdata = self.data.setWFData(self.fnames)
elif self.fnames is None and self.okToContinue():
self.data.setWFData(self.getWFFnames())
except AttributeError, e:
print (e)
self.getWFFnames()
self.openWaveformData()
if self.fnames and self.okToContinue():
self.dirty = True
self.data.setWFData(self.fnames)
elif self.fnames is None and self.okToContinue():
self.data.setWFData(self.getWFFnames())
self.plotData()
def plotData(self):
self.getData().plotData(self.getDataWidget())