Skip to content

Commit

Permalink
hide progress
Browse files Browse the repository at this point in the history
  • Loading branch information
stevencohn committed Jul 21, 2024
1 parent be1c7ff commit b3d903a
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions OneMore/Commands/File/ArchiveCommand.cs
Original file line number Diff line number Diff line change
Expand Up @@ -147,6 +147,12 @@ private void ReportResult(object sender, EventArgs e)
{
// report results back on the main UI thread...

if (sender is ProgressDialog progress)
{
// otherwise ShowMessage window will appear behind progress dialog
progress.Visible = false;
}

if (exception == null)
{
ShowMessage(string.Format(Resx.ArchiveCommand_archived, pageCount, zipPath));
Expand Down

0 comments on commit b3d903a

Please sign in to comment.