Skip to content

Commit 918449c

Browse files
committed
Fix incorrect assignment operator
1 parent f538103 commit 918449c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/Biodiverse/GUI/Legend.pm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1232,7 +1232,7 @@ sub set_colour_mode_from_list_and_index {
12321232
$self->{categorical}{labels} = $labels;
12331233
foreach my $key (keys %$colours) {
12341234
my $colour = $colours->{$key};
1235-
$colours->{$key} => Gtk2::Gdk::Color->parse($colour);
1235+
$colours->{$key} = Gtk2::Gdk::Color->parse($colour);
12361236
}
12371237
$self->{categorical}{colours} = $colours;
12381238
}

0 commit comments

Comments
 (0)