mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-10-29 11:41:20 -06:00
Prevent user from saving a preset with the "- default -" name. #1717
This commit is contained in:
parent
e9620c30b1
commit
67f3e9962b
2 changed files with 9 additions and 5 deletions
|
|
@ -119,7 +119,7 @@ sub _handle_legacy {
|
|||
if ($opt_key eq 'gcode_flavor' && $value eq 'makerbot') {
|
||||
$value = 'makerware';
|
||||
}
|
||||
if ($opt_key eq 'fill_density' && $value <= 1) {
|
||||
if ($opt_key eq 'fill_density' && defined($value) && $value <= 1) {
|
||||
# fill_density was turned into a percent value
|
||||
$value *= 100;
|
||||
$value = "$value"; # force update of the PV value, workaround for bug https://rt.cpan.org/Ticket/Display.html?id=94110
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue