Skip to content

Commit

Permalink
Sometimes with some computers, the background notification were not d…
Browse files Browse the repository at this point in the history
…isplayed. Trying to invoke the notification manager in another way. Some test show that it seem to work anytime now.
  • Loading branch information
Christian Clavet committed Jan 3, 2024
1 parent c84a0de commit 12f2ec5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion NAPS2.Core/WinForms/WinFormsOperationProgress.cs
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,8 @@ public void ShowBackgroundProgress(IOperation op)

if (!op.IsFinished)
{
notificationManager.ParentForm.SafeInvoke(() => notificationManager.OperationProgress(this, op));
//notificationManager.ParentForm.SafeInvoke(() => notificationManager.OperationProgress(this, op));
notificationManager.ParentForm.Invoke(() => notificationManager.OperationProgress(this, op));
}
}

Expand Down

0 comments on commit 12f2ec5

Please sign in to comment.