From 6563b01293e9cee87726d206b504240139098dde Mon Sep 17 00:00:00 2001 From: Marcel Paffrath Date: Thu, 4 May 2017 11:50:28 +0200 Subject: [PATCH] bugfix self._inputs not assigned --- QtPyLoT.py | 3 ++- pylot/RELEASE-VERSION | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/QtPyLoT.py b/QtPyLoT.py index 7633f13c..fb3b6d5b 100755 --- a/QtPyLoT.py +++ b/QtPyLoT.py @@ -79,7 +79,7 @@ class MainWindow(QMainWindow): # check for default pylot.in-file infile = os.path.join(os.path.expanduser('~'), '.pylot', 'pylot.in') if os.path.isfile(infile)== False: - infile = QFileDialog().getOpenFileName(caption='Choose PyLoT-input file') + infile = QFileDialog().getOpenFileName(caption='Choose PyLoT-input file') if not os.path.exists(infile[0]): QMessageBox.warning(self, "PyLoT Warning", "No PyLoT-input file declared!") @@ -87,6 +87,7 @@ class MainWindow(QMainWindow): self.infile = infile[0] else: self.infile = infile + self._inputs = AutoPickParameter(infile) self.project = Project() self.array_map = None diff --git a/pylot/RELEASE-VERSION b/pylot/RELEASE-VERSION index a9034cda..7733445e 100644 --- a/pylot/RELEASE-VERSION +++ b/pylot/RELEASE-VERSION @@ -1 +1 @@ -e966-dirty +2628-dirty