refactor: Remove redundant dose entry clearing and updating in save process
This commit is contained in:
@@ -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.")
|
||||
|
||||
Reference in New Issue
Block a user