From 4a5ae93802b789f9905a9032ec31288968703aff Mon Sep 17 00:00:00 2001 From: j-dimension Date: Thu, 2 Nov 2023 16:05:26 +0100 Subject: [PATCH] immediately display new instant message when sent via button in header. close #2177 --- .../jlawyer/client/editors/files/ArchiveFilePanel.java | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/j-lawyer-client/src/com/jdimension/jlawyer/client/editors/files/ArchiveFilePanel.java b/j-lawyer-client/src/com/jdimension/jlawyer/client/editors/files/ArchiveFilePanel.java index 15efa6d4f..e829a3984 100755 --- a/j-lawyer-client/src/com/jdimension/jlawyer/client/editors/files/ArchiveFilePanel.java +++ b/j-lawyer-client/src/com/jdimension/jlawyer/client/editors/files/ArchiveFilePanel.java @@ -687,6 +687,7 @@ import com.jdimension.jlawyer.client.editors.SelfValidatingEditor; import com.jdimension.jlawyer.client.editors.ThemeableEditor; import com.jdimension.jlawyer.client.editors.addresses.AddressPanel; +import com.jdimension.jlawyer.client.editors.addresses.ConflictOfInterestUtils; import com.jdimension.jlawyer.client.editors.addresses.EditAddressDetailsPanel; import com.jdimension.jlawyer.client.editors.addresses.ViewAddressDetailsPanel; import com.jdimension.jlawyer.client.editors.documents.*; @@ -3797,6 +3798,7 @@ private void cmdSearchClientActionPerformed(java.awt.event.ActionEvent evt) {//G ipep.repaint(); ipep.doLayout(); this.pnlInvolvedParties.doLayout(); + }//GEN-LAST:event_cmdSearchClientActionPerformed public boolean confirmSave(String question, String tagToActivate) { @@ -5916,14 +5918,14 @@ private void mnuSendMessageForDocumentActionPerformed(java.awt.event.ActionEvent if(selectedDocs.isEmpty()) return; - SendInstantMessageDialog dlg=new SendInstantMessageDialog(EditorsRegistry.getInstance().getMainWindow(), true, this.dto, selectedDocs); + SendInstantMessageDialog dlg=new SendInstantMessageDialog(EditorsRegistry.getInstance().getMainWindow(), true, this.dto, selectedDocs, this); FrameUtils.centerDialog(dlg, EditorsRegistry.getInstance().getMainWindow()); dlg.setVisible(true); }//GEN-LAST:event_mnuSendMessageForDocumentActionPerformed private void cmdSendInstantMessageActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_cmdSendInstantMessageActionPerformed - SendInstantMessageDialog dlg=new SendInstantMessageDialog(EditorsRegistry.getInstance().getMainWindow(), true, this.dto, null); + SendInstantMessageDialog dlg=new SendInstantMessageDialog(EditorsRegistry.getInstance().getMainWindow(), true, this.dto, null, this); FrameUtils.centerDialog(dlg, EditorsRegistry.getInstance().getMainWindow()); dlg.setVisible(true); }//GEN-LAST:event_cmdSendInstantMessageActionPerformed