Skip to content

Commit

Permalink
immediately display new instant message when sent via button in header.
Browse files Browse the repository at this point in the history
close #2177
  • Loading branch information
j-dimension committed Nov 2, 2023
1 parent 517f40f commit 4a5ae93
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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.*;
Expand Down Expand Up @@ -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) {
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 4a5ae93

Please sign in to comment.