Skip to content

Commit

Permalink
Always update raw mode checkbox
Browse files Browse the repository at this point in the history
  • Loading branch information
emanuelduss committed Feb 11, 2021
1 parent 6398639 commit 163e8d2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/main/java/application/SamlTabController.java
Original file line number Diff line number Diff line change
Expand Up @@ -443,6 +443,7 @@ public void resetMessage() {
public void setRawMode(boolean rawModeEnabled){
isRawMode = rawModeEnabled;
isEdited = true;
samlGUI.getActionPanel().setRawModeEnabled(rawModeEnabled);
}

public void resignAssertion() {
Expand Down Expand Up @@ -622,7 +623,6 @@ public void applyXXE(String collabUrl) {
textArea.setText(SAMLMessage.getBytes());
isEdited = true;
setRawMode(true);
samlGUI.getActionPanel().setRawModeEnabled(true);
setInfoMessageText(XXE_CONTENT_APPLIED);
}

Expand Down Expand Up @@ -652,6 +652,7 @@ public void applyXSLT(String collabUrl) {
SAMLMessage = firstPart + xslt + secondPart;
textArea.setText(SAMLMessage.getBytes());
isEdited = true;
setRawMode(true);
setInfoMessageText(XSLT_CONTENT_APPLIED);
}
}
Expand Down

0 comments on commit 163e8d2

Please sign in to comment.