Skip to content

Commit

Permalink
mavpicviewer: run app from main thread
Browse files Browse the repository at this point in the history
  • Loading branch information
rmackay9 committed Oct 9, 2024
1 parent 6a3dac4 commit 4284697
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions MAVProxy/tools/mavpicviewer/mavpicviewer_mosaic.py
Original file line number Diff line number Diff line change
Expand Up @@ -128,9 +128,10 @@ def __init__(self, folderpath, comm_pipe=None):
self.frame.Show()

# create a thread and start the main loop
self.thread = Thread(target=self.mavpicviewer_mosaic_loop, name='mavpicviewer_mosaic_loop')
self.thread.daemon = False
self.thread.start()
self.mavpicviewer_mosaic_loop()
#self.thread = Thread(target=self.mavpicviewer_mosaic_loop, name='mavpicviewer_mosaic_loop')
#self.thread.daemon = False
#self.thread.start()

# update panel dictionary
def update_panel_dict(self):
Expand Down

0 comments on commit 4284697

Please sign in to comment.