Fixed logging for now
This commit is contained in:
@ -1,3 +1,3 @@
|
||||
|
||||
MainWindow.py : mainwindow.ui
|
||||
pyside2-uic $< -o $@
|
||||
pyside2-uic -o $@ $<
|
||||
|
||||
@ -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:
|
||||
|
||||
Reference in New Issue
Block a user