From d8268857280bcdb7f56c524631fa610a52e65311 Mon Sep 17 00:00:00 2001 From: Michael Bucari-Tovo Date: Sat, 21 Aug 2021 18:37:07 -0600 Subject: [PATCH] Fix display for new LiberatedStatus values. --- LibationWinForms/LiberateDataGridViewImageButtonColumn.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/LibationWinForms/LiberateDataGridViewImageButtonColumn.cs b/LibationWinForms/LiberateDataGridViewImageButtonColumn.cs index 6b85a4df..f1769f36 100644 --- a/LibationWinForms/LiberateDataGridViewImageButtonColumn.cs +++ b/LibationWinForms/LiberateDataGridViewImageButtonColumn.cs @@ -40,6 +40,7 @@ namespace LibationWinForms LiberatedStatus.Liberated => ("Liberated", "green"), LiberatedStatus.PartialDownload => ("File has been at least\r\npartially downloaded", "yellow"), LiberatedStatus.NotLiberated => ("Book NOT downloaded", "red"), + LiberatedStatus.Error => ("Book downloaded ERROR", "red"), _ => throw new Exception("Unexpected liberation state") }; @@ -47,6 +48,7 @@ namespace LibationWinForms { LiberatedStatus.Liberated => ("\r\nPDF downloaded", "_pdf_yes"), LiberatedStatus.NotLiberated => ("\r\nPDF NOT downloaded", "_pdf_no"), + LiberatedStatus.Error => ("\r\nPDF downloaded ERROR", "_pdf_no"), null => ("", ""), _ => throw new Exception("Unexpected PDF state") };