Skip to content

Commit

Permalink
fix: add invoker
Browse files Browse the repository at this point in the history
  • Loading branch information
tautcony committed Mar 29, 2022
1 parent 084671b commit b7145d5
Showing 1 changed file with 3 additions and 8 deletions.
11 changes: 3 additions & 8 deletions Time_Shift/Forms/Form1.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1111,14 +1111,9 @@ private void dataGridView1_CellEndEdit(object sender, DataGridViewCellEventArgs
default:
break;
}
try
{
UpdateGridView(fpsIndex);
}
catch (InvalidOperationException ex)
{
Log(ex.Message);
}

BeginInvoke(new MethodInvoker(() =>
UpdateGridView(fpsIndex)));

void UpdateTime(TimeSpan time)
{
Expand Down

0 comments on commit b7145d5

Please sign in to comment.