Skip to content

Commit

Permalink
Bug Fix: Reprocessed grand total should never have a color
Browse files Browse the repository at this point in the history
  • Loading branch information
GoldenGnu committed Oct 6, 2024
1 parent 252a3ba commit 105a5ea
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,9 @@ protected void configure(Separator<?> separator) {
jBatchSize.setVisible(false);
}
//Color
if (material.getTotal().isSell()) {
if (material.isGrandTotal()) {
ColorSettings.config(jColor, ColorEntry.REPROCESSED_EQUAL);
} else if (material.getTotal().isSell()) {
ColorSettings.config(jColor, ColorEntry.REPROCESSED_SELL);
} else if (material.getTotal().isReprocess()) {
ColorSettings.config(jColor, ColorEntry.REPROCESSED_REPROCESS);
Expand Down

0 comments on commit 105a5ea

Please sign in to comment.