From 348146370674616aeda897b127abf7e2614509b8 Mon Sep 17 00:00:00 2001 From: Ricky Kresslein Date: Wed, 6 Apr 2022 19:08:21 +0200 Subject: Fix Bugs #13 & #14 - Right-click does nothing if clock is already running --- src/ui/task_row.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/ui/task_row.rs') diff --git a/src/ui/task_row.rs b/src/ui/task_row.rs index 80d6795..f55aba4 100755 --- a/src/ui/task_row.rs +++ b/src/ui/task_row.rs @@ -109,8 +109,7 @@ impl FurTaskRow { gesture.connect_pressed(clone!(@strong task_name_text => move |gesture, _, _, _| { gesture.set_state(gtk::EventSequenceState::Claimed); let window = FurtheranceWindow::default(); - window.set_task_input_text(task_name_text.to_string()); - window.start_timer(); + window.duplicate_task(task_name_text.to_string()); })); self.add_controller(&gesture); -- cgit 1.4.1