Commit ed9cc15b authored by marc's avatar marc
Browse files

minor update outputdir handling

parent 66cc9577
......@@ -90,7 +90,8 @@ class DTObservationProgram(Ui_mainWindow):
self.pushButtonStartMeasurement.clicked.connect(self.startMeasurement)
self.pushButtonStopMeasurement.clicked.connect(self.stopMeasurement)
self.pushButtonOutputDirectory.clicked.connect(self.selectOutputDirectory)
self.homedir = os.environ['HOME']
self.lineEditOutputDir.setText(self.homedir)
self.myDT = telescope(setmode='J2000', consoleHost='consoledemo.dmz.camras.nl')
self.threadpool = QThreadPool()
......@@ -122,7 +123,7 @@ class DTObservationProgram(Ui_mainWindow):
Select the output directory to store the measurements
'''
dialog = QFileDialog()
folder_path = dialog.getExistingDirectory(None, "Select Folder")
folder_path = dialog.getExistingDirectory(None, "Select Folder",self.homedir)
self.lineEditOutputDir.setText(folder_path)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment