From 71bd1d8b970f0f91f4247ef88652d4366e3d6a48 Mon Sep 17 00:00:00 2001 From: j-dimension Date: Sun, 22 Oct 2023 22:08:05 +0200 Subject: [PATCH] update invoice total when removing the position --- .../jlawyer/client/editors/files/InvoicePositionEntryPanel.java | 1 + 1 file changed, 1 insertion(+) diff --git a/j-lawyer-client/src/com/jdimension/jlawyer/client/editors/files/InvoicePositionEntryPanel.java b/j-lawyer-client/src/com/jdimension/jlawyer/client/editors/files/InvoicePositionEntryPanel.java index 6d0dabe1e..bd04f3aad 100644 --- a/j-lawyer-client/src/com/jdimension/jlawyer/client/editors/files/InvoicePositionEntryPanel.java +++ b/j-lawyer-client/src/com/jdimension/jlawyer/client/editors/files/InvoicePositionEntryPanel.java @@ -948,6 +948,7 @@ private void cmdRemovePositionActionPerformed(java.awt.event.ActionEvent evt) {/ log.warn("unable to layout invoice dialog", ex); } this.parent.bumpSplitPane(); + this.updateParentTotal(); } catch (Exception ex) { log.error("Error updating invoice position", ex); JOptionPane.showMessageDialog(this, "Fehler beim Speichern der Rechnungsposition: " + ex.getMessage(), com.jdimension.jlawyer.client.utils.DesktopUtils.POPUP_TITLE_ERROR, JOptionPane.ERROR_MESSAGE);