Update list UI when details change
This commit is contained in:
parent
ed63ac8e78
commit
5fbcb03d73
6 changed files with 40 additions and 16 deletions
|
|
@ -100,8 +100,10 @@ class JnotesApplication(Adw.Application):
|
|||
|
||||
def on_calendar_selected(self, container, row):
|
||||
notes_list = self.props.active_window.notes_list
|
||||
cal_row = self.calendar_set[row.get_index()]
|
||||
self.props.active_window.notes_list_page.set_title(cal_row.displayname)
|
||||
Sync.get_calenndar_notes(
|
||||
self.calendar_set[row.get_index()],
|
||||
cal_row,
|
||||
lambda calendar: notes_list.set_calendar(calendar)
|
||||
)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue