Skip to content

Update the Search dialog when items in the calendar change

  1. Switch KOrganizer to the Event List view.
  2. Select a date range that contains an event.
  3. Use the Search dialog to search in that date range, with search string "*".
  4. Use the pop-up menu in the Search dialog's result list to edit the event.
  5. Change the event's summary and save it.

The event's summary changes in the Event List, but not in the Search dialog.

When CalendarView::slotModifyFinished fires, the calendar has not been updated, so the calendar()->events call in SearchDialog::updateView returns stale events. This patch connects SearchDialog::updateView to the calendarChanged signal, which is what is done for the Event List.

Merge request reports