refactor: Remove redundant dose entry clearing and updating in save process

This commit is contained in:
William Valentin
2025-07-28 21:35:28 -07:00
parent 760aa40a8c
commit cbf01ad3dd
2 changed files with 151 additions and 7 deletions

View File

@@ -313,13 +313,6 @@ class MedTrackerApp:
self.medicine_vars[key][0].set(0)
self.note_var.set("")
# Clear dose entry fields
for entry in self.dose_entries.values():
entry.delete(0, tk.END)
# Update dose displays
self._update_dose_displays()
def load_data(self) -> None:
"""Load data from the CSV file into the table and graph."""
logger.debug("Loading data from CSV.")