method renamed to avoid misunderstanding
This commit is contained in:
parent
61c136fec3
commit
d477467b02
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user