Skip to content

Commit

Permalink
fix NullPointerException on edit bill
Browse files Browse the repository at this point in the history
  • Loading branch information
ArnaudFofou committed Nov 20, 2024
1 parent e4d4c97 commit 51ad6fd
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/main/java/org/isf/accounting/gui/PatientBillEdit.java
Original file line number Diff line number Diff line change
Expand Up @@ -897,7 +897,9 @@ private void setJButtonPickPatient() {
jButtonPickPatient.setText(MessageBundle.getMessage("angal.newbill.changepatient.btn"));
jButtonPickPatient.setMnemonic(MessageBundle.getMnemonic("angal.newbill.changepatient.btn.key"));
jButtonPickPatient.setToolTipText(MessageBundle.getMessage("angal.newbill.changethepatientassociatedwiththisbill.tooltip"));
jButtonTrashPatient.setEnabled(true);
if (jButtonTrashPatient != null) {
jButtonTrashPatient.setEnabled(true);
}
}
}

Expand Down

0 comments on commit 51ad6fd

Please sign in to comment.