Skip to content

Commit

Permalink
Fix Info Panel Editor not cleared
Browse files Browse the repository at this point in the history
  • Loading branch information
thort committed Aug 15, 2024
1 parent 1eca7da commit 14268cf
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/main/java/application/SamlTabController.java
Original file line number Diff line number Diff line change
Expand Up @@ -277,6 +277,7 @@ public void setRequestResponse(HttpRequestResponse requestResponse) {
}

private void setInformationDisplay() {
samlGUI.getTextEditorInformation().setContents(ByteArray.byteArray(""));
SamlPanelInfo infoPanel = samlGUI.getInfoPanel();
infoPanel.clearAll();

Expand Down
2 changes: 1 addition & 1 deletion src/main/java/gui/SamlMain.java
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ private void initializeUI() {
panelActionBottom.setLayout(new BorderLayout(0, 0));
textEditorAction = BurpExtender.api.userInterface().createRawEditor();
textEditorAction.setContents(ByteArray.byteArray("<SAMLRaiderFailureInInitialization></SAMLRaiderFailureInInitialization>"));
textEditorAction.setEditable(false);
panelActionBottom.add(textEditorAction.uiComponent(), BorderLayout.CENTER);

JSplitPane splitPaneInformation = new JSplitPane();
Expand All @@ -62,7 +63,6 @@ private void initializeUI() {
panelInformationBottom.setLayout(new BorderLayout(0, 0));
textEditorInformation = BurpExtender.api.userInterface().createRawEditor();
textEditorInformation.setContents(ByteArray.byteArray(""));
textEditorAction.setEditable(false);
panelInformationBottom.add(textEditorInformation.uiComponent(), BorderLayout.CENTER);

JTabbedPane tabbedPane = new JTabbedPane();
Expand Down

0 comments on commit 14268cf

Please sign in to comment.