Fixed logging for now

This commit is contained in:
2021-10-22 11:03:28 -04:00
parent a0157664cc
commit 34d8f791ea
2 changed files with 3 additions and 3 deletions

View File

@ -1,3 +1,3 @@
MainWindow.py : mainwindow.ui
pyside2-uic $< -o $@
pyside2-uic -o $@ $<

View File

@ -99,7 +99,7 @@ class QtGPSWindow(MainWindow):
self.gpx_track.segments.append(self.gpx_segment)
self.log_enabled = 0
self.dirname = ""
self.dirname = "."
self.num_points = 0
self.my_thread = DataThread()
@ -240,7 +240,7 @@ class QtGPSWindow(MainWindow):
def toggle_logging(self):
if self.log_enabled:
self.log_enabled = 0
self.dir_dialog()
# self.dir_dialog()
self.save_log()
self.toggleLogging.setText("Start")
else: