diff --git a/FormVideoUploader.cs b/FormVideoUploader.cs index ebf083e..71a01ab 100644 --- a/FormVideoUploader.cs +++ b/FormVideoUploader.cs @@ -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: {hlsVideoURL}"); + if (hlsVideoURL != null) + { + Clipboard.SetText(hlsVideoURL); + this.Log($"HLS video URL copied to clipboard: {hlsVideoURL}"); + } } } }