mirror of
https://github.com/sirjonasxx/G-Earth.git
synced 2024-11-23 00:40:51 +01:00
remove option to not use new structures
This commit is contained in:
parent
a03c898328
commit
bd31153149
@ -46,7 +46,6 @@ public class UiLoggerController implements Initializable {
|
|||||||
public CheckMenuItem chkMessageHash;
|
public CheckMenuItem chkMessageHash;
|
||||||
public CheckMenuItem chkMessageId;
|
public CheckMenuItem chkMessageId;
|
||||||
public Label lblPacketInfo;
|
public Label lblPacketInfo;
|
||||||
public CheckMenuItem chkUseNewStructures;
|
|
||||||
public CheckMenuItem chkAlwaysOnTop;
|
public CheckMenuItem chkAlwaysOnTop;
|
||||||
|
|
||||||
public CheckMenuItem chkOpenOnConnect;
|
public CheckMenuItem chkOpenOnConnect;
|
||||||
@ -130,7 +129,7 @@ public class UiLoggerController implements Initializable {
|
|||||||
public void initialize(URL arg0, ResourceBundle arg1) {
|
public void initialize(URL arg0, ResourceBundle arg1) {
|
||||||
allMenuItems.addAll(Arrays.asList(
|
allMenuItems.addAll(Arrays.asList(
|
||||||
chkViewIncoming, chkViewOutgoing, chkDisplayStructure, chkAutoscroll,
|
chkViewIncoming, chkViewOutgoing, chkDisplayStructure, chkAutoscroll,
|
||||||
chkSkipBigPackets, chkMessageName, chkMessageHash, chkMessageId, chkUseNewStructures,
|
chkSkipBigPackets, chkMessageName, chkMessageHash, chkMessageId,
|
||||||
chkOpenOnConnect, chkResetOnConnect, chkHideOnDisconnect, chkResetOnDisconnect,
|
chkOpenOnConnect, chkResetOnConnect, chkHideOnDisconnect, chkResetOnDisconnect,
|
||||||
chkAntiSpam_none, chkAntiSpam_low, chkAntiSpam_medium, chkAntiSpam_high, chkAntiSpam_ultra,
|
chkAntiSpam_none, chkAntiSpam_low, chkAntiSpam_medium, chkAntiSpam_high, chkAntiSpam_ultra,
|
||||||
chkTimestamp, chkReprHex, chkReprLegacy, chkReprRawHex, chkReprNone
|
chkTimestamp, chkReprHex, chkReprLegacy, chkReprRawHex, chkReprNone
|
||||||
@ -286,7 +285,7 @@ public class UiLoggerController implements Initializable {
|
|||||||
|
|
||||||
if (packet.length() <= 2000) {
|
if (packet.length() <= 2000) {
|
||||||
try {
|
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);
|
String cleaned = cleanTextContent(expr);
|
||||||
if (cleaned.equals(expr)) {
|
if (cleaned.equals(expr)) {
|
||||||
if (!expr.equals("") && chkDisplayStructure.isSelected()) {
|
if (!expr.equals("") && chkDisplayStructure.isSelected()) {
|
||||||
|
@ -67,7 +67,6 @@
|
|||||||
</items>
|
</items>
|
||||||
</Menu>
|
</Menu>
|
||||||
<CheckMenuItem fx:id="chkDisplayStructure" mnemonicParsing="false" selected="true" text="Structure" />
|
<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" />
|
<CheckMenuItem fx:id="chkTimestamp" mnemonicParsing="false" text="Timestamp" />
|
||||||
</items>
|
</items>
|
||||||
</Menu>
|
</Menu>
|
||||||
|
Loading…
Reference in New Issue
Block a user