Don't fire click for error books
This commit is contained in:
parent
23b512910e
commit
ffe0f0730d
@ -187,7 +187,8 @@ namespace LibationWinForms.GridView
|
|||||||
|
|
||||||
private void productsGrid_LiberateClicked(LibraryBookEntry liveGridEntry)
|
private void productsGrid_LiberateClicked(LibraryBookEntry liveGridEntry)
|
||||||
{
|
{
|
||||||
LiberateClicked?.Invoke(this, liveGridEntry.LibraryBook);
|
if (liveGridEntry.LibraryBook.Book.UserDefinedItem.BookStatus is not LiberatedStatus.Error)
|
||||||
|
LiberateClicked?.Invoke(this, liveGridEntry.LibraryBook);
|
||||||
}
|
}
|
||||||
|
|
||||||
private void productsGrid_RemovableCountChanged(object sender, EventArgs e)
|
private void productsGrid_RemovableCountChanged(object sender, EventArgs e)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user