From 35cc74578e969bae4812afd2ff041eba3746142d Mon Sep 17 00:00:00 2001 From: Joris Date: Sat, 19 Mar 2022 22:03:58 +0100 Subject: Allow to repeat an event until a specific date Also provide a shortcut to modify a repetead event from a specific occurence. This set the end repetition date under the hood and create a new repeated event. --- src/gui/app.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/gui/app.rs') diff --git a/src/gui/app.rs b/src/gui/app.rs index 9f37301..8cd7096 100644 --- a/src/gui/app.rs +++ b/src/gui/app.rs @@ -16,8 +16,8 @@ pub struct App { pub conn: Rc, pub window: Rc, pub grid: gtk::Grid, - pub events: Vec, - pub recurring_events: Vec, + pub events: Vec, // TODO: use Hashmap to have fast access to events by id ? + pub recurring_events: Vec, // TODO: use Hashmap to have fast access to events by id ? pub today: NaiveDate, pub start_date: NaiveDate, pub end_date: NaiveDate, -- cgit v1.2.3