Skip to content

Commit

Permalink
Fixes #161 AgendaView does not update entry titles
Browse files Browse the repository at this point in the history
  • Loading branch information
dlemmermann committed Aug 31, 2022
1 parent 862e584 commit 6019c2c
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -115,15 +115,19 @@ protected void entryIntervalChanged(CalendarEvent evt) {

@Override
protected void entryRecurrenceRuleChanged(CalendarEvent evt) {
updateList(evt,
"entry recurrence rule changed, entry = " + evt.getEntry());
updateList(evt, "entry recurrence rule changed, entry = " + evt.getEntry());
}

@Override
protected void entryFullDayChanged(CalendarEvent evt) {
updateList(evt, "entry full day changed changed, entry = " + evt.getEntry());
}

@Override
protected void entryTitleChanged(CalendarEvent evt) {
updateList(evt, "entry title changed changed, entry = " + evt.getEntry());
}

@Override
protected void entryCalendarChanged(CalendarEvent evt) {
updateList(evt, "entry calendar changed, entry = " + evt.getEntry());
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,8 @@ private void calendarChanged(CalendarEvent evt) {
entryRecurrenceRuleChanged(evt);
} else if (eventType.equals(CalendarEvent.ENTRY_CALENDAR_CHANGED)) {
entryCalendarChanged(evt);
} else if (eventType.equals(CalendarEvent.ENTRY_TITLE_CHANGED)) {
entryTitleChanged(evt);
} else if (eventType.equals(CALENDAR_CHANGED)) {
calendarChanged(evt.getCalendar());
}
Expand All @@ -161,6 +163,9 @@ protected void entryRecurrenceRuleChanged(CalendarEvent evt) {
protected void entryCalendarChanged(CalendarEvent evt) {
}

protected void entryTitleChanged(CalendarEvent evt) {
}

protected void calendarChanged(Calendar calendar) {
}

Expand Down

0 comments on commit 6019c2c

Please sign in to comment.