Skip to content

Commit

Permalink
Fix bug in "duplicate" in Parametric Remote table. Resolves #544.
Browse files Browse the repository at this point in the history
  • Loading branch information
bengtmartensson committed Dec 27, 2024
1 parent e7666f1 commit c611a81
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ private static String formatMiscParams(Map<String, Long> params) {
}

ParametrizedIrSignal(ParametrizedIrSignal old) {
this(old.getProtocol(), old.parameters, old.getName(), old.getComment());
this(old.getProtocol(), new HashMap<String, Long>(old.parameters), old.getName(), old.getComment());
}

ParametrizedIrSignal(String protocolName, long device, long subdevice, long function, String name, String comment) {
Expand Down

0 comments on commit c611a81

Please sign in to comment.