added total cost/weight to Extruder statistics, mocked up addendum to status bar change.

This commit is contained in:
Joseph Lenox 2017-01-16 01:00:05 -06:00 committed by bubnikv
parent 3846d9e734
commit 203a965b3d
5 changed files with 30 additions and 6 deletions

View file

@ -1343,6 +1343,7 @@ sub on_export_completed {
} else {
$message = "G-code file exported to " . $self->{export_gcode_output_file};
}
$message .= sprintf(" Cost: %.2f" , $self->{print}->total_cost);
} else {
$message = "Export failed";
}