Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/supermerill/SuperSlicer.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorEnrico Turri <enricoturri@seznam.cz>2017-12-14 11:18:28 +0300
committerEnrico Turri <enricoturri@seznam.cz>2017-12-14 11:18:28 +0300
commit0fe855cd6d12f067a6f14469c886a5091b421752 (patch)
treef7b6580dd0449584fe4db84adaa855858d115d35 /lib
parent20234c94eee03e7e361a91fafedf5c1a753baed5 (diff)
Time estimate shown in GUI as formatted string / Write to file made by class GCode's private methods
Diffstat (limited to 'lib')
-rw-r--r--lib/Slic3r/GUI/Plater.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Slic3r/GUI/Plater.pm b/lib/Slic3r/GUI/Plater.pm
index f687dcec4..c7d42559c 100644
--- a/lib/Slic3r/GUI/Plater.pm
+++ b/lib/Slic3r/GUI/Plater.pm
@@ -434,7 +434,7 @@ sub new {
fil_mm3 => "Used Filament (mm^3)",
fil_g => "Used Filament (g)",
cost => "Cost",
- time => "Estimated printing time (min)",
+ time => "Estimated printing time",
);
while (my $field = shift @info) {
my $label = shift @info;
@@ -1428,7 +1428,7 @@ sub on_export_completed {
$self->{"print_info_cost"}->SetLabel(sprintf("%.2f" , $self->{print}->total_cost));
$self->{"print_info_fil_g"}->SetLabel(sprintf("%.2f" , $self->{print}->total_weight));
$self->{"print_info_fil_mm3"}->SetLabel(sprintf("%.2f" , $self->{print}->total_extruded_volume));
- $self->{"print_info_time"}->SetLabel(sprintf("%.2f" , $self->{print}->estimated_print_time));
+ $self->{"print_info_time"}->SetLabel($self->{print}->estimated_print_time);
$self->{"print_info_fil_m"}->SetLabel(sprintf("%.2f" , $self->{print}->total_used_filament / 1000));
$self->{"print_info_box_show"}->(1);