From 3ad82c0c9e2a127fd301c87751edd76d9194c2c6 Mon Sep 17 00:00:00 2001 From: Marcel Paffrath Date: Mon, 29 May 2017 11:34:22 +0200 Subject: [PATCH] small fix on saving back loaded project --- QtPyLoT.py | 2 +- pylot/RELEASE-VERSION | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/QtPyLoT.py b/QtPyLoT.py index 3a86b99b..c62abeef 100755 --- a/QtPyLoT.py +++ b/QtPyLoT.py @@ -1357,7 +1357,6 @@ class MainWindow(QMainWindow): self.update_status('picks accepted ({0})'.format(station)) replot = self.addPicks(station, pickDlg.getPicks()) self.get_current_event().setPick(station, pickDlg.getPicks()) - print(pickDlg.getPicks()) if replot: self.plotWaveformData() self.drawPicks() @@ -2116,6 +2115,7 @@ class Project(object): import _pickle as cPickle infile = open(filename, 'rb') project = cPickle.load(infile) + project.location = filename print('Loaded %s' % filename) return project diff --git a/pylot/RELEASE-VERSION b/pylot/RELEASE-VERSION index d1898d5f..d320d5ff 100644 --- a/pylot/RELEASE-VERSION +++ b/pylot/RELEASE-VERSION @@ -1 +1 @@ -b3a44-dirty +8975-dirty