Skip to content

Commit

Permalink
fixes #21 fixing still working chaining times
Browse files Browse the repository at this point in the history
  • Loading branch information
bethune-bryant committed Jan 24, 2018
1 parent d0bf6a6 commit 36051bf
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion TimeKeeper/frmMain.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand All @@ -601,6 +600,9 @@ private void timerWorking_Tick(object sender, EventArgs e)
{
StartNewTask(newEntry);
}
}else
{
Tuple<bool, DateTime> closeResult = CloseCurrentTask();
}
}

Expand Down

0 comments on commit 36051bf

Please sign in to comment.