remove option to not use new structures

This commit is contained in:
sirjonasxx 2022-05-03 06:12:33 +02:00
parent a03c898328
commit bd31153149
2 changed files with 2 additions and 4 deletions

View File

@ -46,7 +46,6 @@ public class UiLoggerController implements Initializable {
public CheckMenuItem chkMessageHash;
public CheckMenuItem chkMessageId;
public Label lblPacketInfo;
public CheckMenuItem chkUseNewStructures;
public CheckMenuItem chkAlwaysOnTop;
public CheckMenuItem chkOpenOnConnect;
@ -130,7 +129,7 @@ public class UiLoggerController implements Initializable {
public void initialize(URL arg0, ResourceBundle arg1) {
allMenuItems.addAll(Arrays.asList(
chkViewIncoming, chkViewOutgoing, chkDisplayStructure, chkAutoscroll,
chkSkipBigPackets, chkMessageName, chkMessageHash, chkMessageId, chkUseNewStructures,
chkSkipBigPackets, chkMessageName, chkMessageHash, chkMessageId,
chkOpenOnConnect, chkResetOnConnect, chkHideOnDisconnect, chkResetOnDisconnect,
chkAntiSpam_none, chkAntiSpam_low, chkAntiSpam_medium, chkAntiSpam_high, chkAntiSpam_ultra,
chkTimestamp, chkReprHex, chkReprLegacy, chkReprRawHex, chkReprNone
@ -286,7 +285,7 @@ public class UiLoggerController implements Initializable {
if (packet.length() <= 2000) {
try {
String expr = packet.toExpression(isIncoming ? HMessage.Direction.TOCLIENT : HMessage.Direction.TOSERVER, uiLogger.getPacketInfoManager(), chkUseNewStructures.isSelected());
String expr = packet.toExpression(isIncoming ? HMessage.Direction.TOCLIENT : HMessage.Direction.TOSERVER, uiLogger.getPacketInfoManager(), true);
String cleaned = cleanTextContent(expr);
if (cleaned.equals(expr)) {
if (!expr.equals("") && chkDisplayStructure.isSelected()) {

View File

@ -67,7 +67,6 @@
</items>
</Menu>
<CheckMenuItem fx:id="chkDisplayStructure" mnemonicParsing="false" selected="true" text="Structure" />
<CheckMenuItem fx:id="chkUseNewStructures" mnemonicParsing="false" selected="true" text="New structures" />
<CheckMenuItem fx:id="chkTimestamp" mnemonicParsing="false" text="Timestamp" />
</items>
</Menu>