Skip to content

Commit

Permalink
bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
nakov committed Dec 2, 2020
1 parent 4fbd2f1 commit 6699a82
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions FormVideoUploader.cs
Original file line number Diff line number Diff line change
Expand Up @@ -516,8 +516,11 @@ private void dataGridViewCompletedJobs_CellClick(object sender, DataGridViewCell
if (e.RowIndex >= 0)
{
string hlsVideoURL = this.completedJobs[e.RowIndex].VideoURL;
Clipboard.SetText(hlsVideoURL);
this.Log($"HLS video URL copied to clipboard: <code>{hlsVideoURL}</code>");
if (hlsVideoURL != null)
{
Clipboard.SetText(hlsVideoURL);
this.Log($"HLS video URL copied to clipboard: <code>{hlsVideoURL}</code>");
}
}
}
}
Expand Down

0 comments on commit 6699a82

Please sign in to comment.