Fix regression causing profile names to be listed in random order. #1864

This commit is contained in:
Alessandro Ranellucci 2014-04-06 22:45:40 +02:00
parent e4709068b9
commit 33ade1328f

View File

@ -348,7 +348,7 @@ sub load_presets {
}]; }];
my %presets = Slic3r::GUI->presets($self->name); my %presets = Slic3r::GUI->presets($self->name);
foreach my $preset_name (keys %presets) { foreach my $preset_name (sort keys %presets) {
push @{$self->{presets}}, { push @{$self->{presets}}, {
name => $preset_name, name => $preset_name,
file => $presets{$preset_name}, file => $presets{$preset_name},