Skip to content

Commit

Permalink
Fix incorrect assignment operator
Browse files Browse the repository at this point in the history
  • Loading branch information
shawnlaffan committed Dec 30, 2023
1 parent f538103 commit 918449c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Biodiverse/GUI/Legend.pm
Original file line number Diff line number Diff line change
Expand Up @@ -1232,7 +1232,7 @@ sub set_colour_mode_from_list_and_index {
$self->{categorical}{labels} = $labels;
foreach my $key (keys %$colours) {
my $colour = $colours->{$key};
$colours->{$key} => Gtk2::Gdk::Color->parse($colour);
$colours->{$key} = Gtk2::Gdk::Color->parse($colour);
}
$self->{categorical}{colours} = $colours;
}
Expand Down

0 comments on commit 918449c

Please sign in to comment.