From f2dcd3f60614e348aeeffc32e8b3359e328dc1bd Mon Sep 17 00:00:00 2001 From: crazycat256 <63475640+crazycat256@users.noreply.github.com> Date: Thu, 9 Jan 2025 00:05:55 +0100 Subject: [PATCH] Fix error in mapping generator The error occured when you try to add an "Include names" filter --- .../java/software/coley/recaf/ui/pane/MappingGeneratorPane.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/recaf-ui/src/main/java/software/coley/recaf/ui/pane/MappingGeneratorPane.java b/recaf-ui/src/main/java/software/coley/recaf/ui/pane/MappingGeneratorPane.java index b0c1fbefd..b1d1f4164 100644 --- a/recaf-ui/src/main/java/software/coley/recaf/ui/pane/MappingGeneratorPane.java +++ b/recaf-ui/src/main/java/software/coley/recaf/ui/pane/MappingGeneratorPane.java @@ -789,7 +789,7 @@ protected void fillConfigurator(@Nonnull BiConsumer sink) { grid.addRow(2, new BoundLabel(Lang.getBinding("mapgen.filter.method-name")), txtMethod, new BoundComboBox<>(methodPredicateId, stringPredicatesWithNull, textPredicateConverter)); grid.addRow(3, new BoundLabel(Lang.getBinding("mapgen.filter.variable-name")), - txtMethod, new BoundComboBox<>(variablePredicateId, stringPredicatesWithNull, textPredicateConverter)); + txtVariable, new BoundComboBox<>(variablePredicateId, stringPredicatesWithNull, textPredicateConverter)); sink.accept(null, grid); } }