feat: Update medicine toggles to be unchecked by default for improved user experience
Some checks failed
Build and Push Docker Image / build-and-push (push) Has been cancelled
Some checks failed
Build and Push Docker Image / build-and-push (push) Has been cancelled
This commit is contained in:
@@ -45,9 +45,9 @@ class GraphManager:
|
||||
for pathology_key in self.pathology_manager.get_pathology_keys():
|
||||
self.toggle_vars[pathology_key] = tk.IntVar(value=1)
|
||||
|
||||
# Initialize medicine toggles
|
||||
# Initialize medicine toggles (unchecked by default)
|
||||
for medicine_key in self.medicine_manager.get_medicine_keys():
|
||||
self.toggle_vars[medicine_key] = tk.IntVar(value=1)
|
||||
self.toggle_vars[medicine_key] = tk.IntVar(value=0)
|
||||
|
||||
def _setup_ui(self) -> None:
|
||||
"""Set up the UI components with performance optimizations."""
|
||||
|
||||
Reference in New Issue
Block a user