From 36051bfdf0407b8a8a0d156466cd7e5c0fa12768 Mon Sep 17 00:00:00 2001 From: Bryant Nelson Date: Wed, 24 Jan 2018 16:27:05 -0600 Subject: [PATCH] fixes #21 fixing still working chaining times --- TimeKeeper/frmMain.cs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/TimeKeeper/frmMain.cs b/TimeKeeper/frmMain.cs index 698fd64..572b15a 100644 --- a/TimeKeeper/frmMain.cs +++ b/TimeKeeper/frmMain.cs @@ -592,7 +592,6 @@ private void timerWorking_Tick(object sender, EventArgs e) if (stillWorking.ShowDialog(this) == System.Windows.Forms.DialogResult.No) { - CloseCurrentTask(); if (!stillWorking.FinishedWorking) { TimeEntry newEntry = stillWorking.NewTask; @@ -601,6 +600,9 @@ private void timerWorking_Tick(object sender, EventArgs e) { StartNewTask(newEntry); } + }else + { + Tuple closeResult = CloseCurrentTask(); } }