def populate_notes(self): """ Updates the list of notes """ notes = get_notes() for note in notes: self.add_note_to_listwidget(note) self.color_notes()
def populate_notes(self): notes = get_notes() for note in notes: self.add_note_to_list_widget(note)
def populate_notes(self): """Populate the note list with the notes found in the notes directory.""" notes = get_notes() for note in notes: self.add_note_to_listwidget(note)