Fix: Debug/Toggle prints

This commit is contained in:
SnuffSocket committed 2024-10-15 02:47:48 +03:00
1 parent 16edfe4d8f
commit 8d74782078
3 files changed
+5 -5

No files matched your search

+1 -1
View File
@@ -186,7 +186,7 @@ class CalibSettingsWidget:
window[element2].update(float(self.array[count1][count2]))
#values[element2] = float(self.array[count1][count2])
self.refreshed = True
print('DEBUG: Refreshed')
#print('DEBUG: Refreshed')
if self.config.calibration_mode != str(values[self.gui_calibration_mode]):
self.config.calibration_mode = str(values[self.gui_calibration_mode])
+3 -3
View File
@@ -304,15 +304,15 @@ class CameraWidget:
window[self.gui_tracking_layout].update(visible=False)
if event == self.use_calibration:
print("toggle event")
#print("toggle event")
if self.settings_config.use_calibration == True:
window[self.gui_restart_calibration].update(disabled = False)
window[self.gui_stop_calibration].update(disabled = False)
print("Enabled")
#print("Enabled")
else:
window[self.gui_restart_calibration].update(disabled = True)
window[self.gui_stop_calibration].update(disabled = True)
print("Disabled")
#print("Disabled")
if event == "{}+UP".format(self.gui_roi_selection):
# Event for mouse button up in ROI mode
+1 -1
View File
@@ -104,7 +104,7 @@ def list_camera_names():
return ["Unsupported operating system"]
def list_serial_ports():
print("DEBUG: Listed Serial Ports")
#print("DEBUG: Listed Serial Ports")
""" Lists serial port names
:raises EnvironmentError: