small fix on saving back loaded project
This commit is contained in:
parent
8975913143
commit
3ad82c0c9e
@ -1357,7 +1357,6 @@ class MainWindow(QMainWindow):
|
|||||||
self.update_status('picks accepted ({0})'.format(station))
|
self.update_status('picks accepted ({0})'.format(station))
|
||||||
replot = self.addPicks(station, pickDlg.getPicks())
|
replot = self.addPicks(station, pickDlg.getPicks())
|
||||||
self.get_current_event().setPick(station, pickDlg.getPicks())
|
self.get_current_event().setPick(station, pickDlg.getPicks())
|
||||||
print(pickDlg.getPicks())
|
|
||||||
if replot:
|
if replot:
|
||||||
self.plotWaveformData()
|
self.plotWaveformData()
|
||||||
self.drawPicks()
|
self.drawPicks()
|
||||||
@ -2116,6 +2115,7 @@ class Project(object):
|
|||||||
import _pickle as cPickle
|
import _pickle as cPickle
|
||||||
infile = open(filename, 'rb')
|
infile = open(filename, 'rb')
|
||||||
project = cPickle.load(infile)
|
project = cPickle.load(infile)
|
||||||
|
project.location = filename
|
||||||
print('Loaded %s' % filename)
|
print('Loaded %s' % filename)
|
||||||
return project
|
return project
|
||||||
|
|
||||||
|
@ -1 +1 @@
|
|||||||
b3a44-dirty
|
8975-dirty
|
||||||
|
Loading…
Reference in New Issue
Block a user