This commit is contained in:
Robert McRackan 2021-08-26 16:08:26 -04:00
parent 9a4903f0dd
commit 8969c216af
3 changed files with 3 additions and 3 deletions

View file

@ -177,6 +177,7 @@ namespace LibationWinForms
get => string.Join("\r\n", Book.UserDefinedItem.TagsEnumerated);
set => Book.UserDefinedItem.Tags = value;
}
// these 2 values being in 1 field is the trick behind getting the liberated+pdf 'stoplight' icon to draw. See: LiberateDataGridViewImageButtonCell.Paint
public (LiberatedStatus BookStatus, LiberatedStatus? PdfStatus) Liberate
{
get => (LibraryCommands.Liberated_Status(LibraryBook.Book), LibraryCommands.Pdf_Status(LibraryBook.Book));