bugfix self._inputs not assigned
This commit is contained in:
parent
2628e9d568
commit
6563b01293
@ -79,7 +79,7 @@ class MainWindow(QMainWindow):
|
|||||||
# check for default pylot.in-file
|
# check for default pylot.in-file
|
||||||
infile = os.path.join(os.path.expanduser('~'), '.pylot', 'pylot.in')
|
infile = os.path.join(os.path.expanduser('~'), '.pylot', 'pylot.in')
|
||||||
if os.path.isfile(infile)== False:
|
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]):
|
if not os.path.exists(infile[0]):
|
||||||
QMessageBox.warning(self, "PyLoT Warning",
|
QMessageBox.warning(self, "PyLoT Warning",
|
||||||
"No PyLoT-input file declared!")
|
"No PyLoT-input file declared!")
|
||||||
@ -87,6 +87,7 @@ class MainWindow(QMainWindow):
|
|||||||
self.infile = infile[0]
|
self.infile = infile[0]
|
||||||
else:
|
else:
|
||||||
self.infile = infile
|
self.infile = infile
|
||||||
|
self._inputs = AutoPickParameter(infile)
|
||||||
|
|
||||||
self.project = Project()
|
self.project = Project()
|
||||||
self.array_map = None
|
self.array_map = None
|
||||||
|
@ -1 +1 @@
|
|||||||
e966-dirty
|
2628-dirty
|
||||||
|
Loading…
Reference in New Issue
Block a user