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 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.setWFData(self.fnames)
self.data.wfdata = 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()) self.plotData()
except AttributeError, e:
print (e)
self.getWFFnames()
self.openWaveformData()
def plotData(self): def plotData(self):
self.getData().plotData(self.getDataWidget()) self.getData().plotData(self.getDataWidget())