method renamed to avoid misunderstanding

This commit is contained in:
Sebastian Wehling-Benatelli 2015-02-16 10:27:32 +01:00
parent 61c136fec3
commit d477467b02

View File

@ -136,7 +136,7 @@ class MainWindow(QMainWindow):
QKeySequence.Save, saveIcon, QKeySequence.Save, saveIcon,
"Save actual event data.") "Save actual event data.")
openWFDataAction = self.createAction("Open &waveforms ...", openWFDataAction = self.createAction("Open &waveforms ...",
self.openWaveformData, self.loadWaveformData,
"Ctrl+W", QIcon(":/wfIcon.png"), "Ctrl+W", QIcon(":/wfIcon.png"),
"""Open waveform data (event will """Open waveform data (event will
be closed).""") be closed).""")
@ -342,7 +342,7 @@ class MainWindow(QMainWindow):
return self.saveData() return self.saveData()
return True return True
def openWaveformData(self): def loadWaveformData(self):
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.setWFData(self.fnames)