bugfix self._inputs not assigned

This commit is contained in:
Marcel Paffrath 2017-05-04 11:50:28 +02:00
parent 2628e9d568
commit 6563b01293
2 changed files with 3 additions and 2 deletions

View File

@ -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

View File

@ -1 +1 @@
e966-dirty
2628-dirty