Skip to content

Commit

Permalink
Merge pull request #668 from caribo/master
Browse files Browse the repository at this point in the history
FIx typo when setting png quality
  • Loading branch information
Photon89 authored Apr 2, 2024
2 parents fa324ef + 47ebd24 commit bce8db8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/shutter
Original file line number Diff line number Diff line change
Expand Up @@ -2874,7 +2874,7 @@ sub STARTUP {
} elsif ($combobox_type->get_active_text =~ /jpg/) {
$settings->set_jpg_quality($scale->get_value);
} elsif ($combobox_type->get_active_text =~ /png/) {
$settings->set_jpg_quality($scale->get_value);
$settings->set_png_quality($scale->get_value);
} elsif ($combobox_type->get_active_text =~ /webp/) {
$settings->set_webp_quality($scale->get_value);
} else {
Expand Down

0 comments on commit bce8db8

Please sign in to comment.