Skip to content

Commit

Permalink
Deselecting camera when application closes
Browse files Browse the repository at this point in the history
  • Loading branch information
TheAntTeam committed Jul 27, 2024
1 parent 812f796 commit 29ff3e8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/TheAntFarm/the_ant_farm.py
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,7 @@ def closeEvent(self, event):
self.ui_manager.save_all_settings()
print("Settings Saved")
print("Stopping Threads")
self.ui.camera_list_cb.setCurrentIndex(0) # Select NO CAMERA before closing
self.serialWo.close_port()
self.serial_thread.quit()
self.control_thread.quit()
Expand Down

0 comments on commit 29ff3e8

Please sign in to comment.