mirror of
https://github.com/rmcrackan/Libation.git
synced 2026-10-25 06:59:08 -04:00
Don't fire click for error books
This commit is contained in:
1 parent
23b512910e
commit
ffe0f0730d
1 file changed
+2
-1
@@ -187,7 +187,8 @@ namespace LibationWinForms.GridView
|
||||
|
||||
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)
|
||||
|
||||
Reference in new issue
Block a user