From 898c697f13ea09ef428a3425a6ecf8f04bde1cb2 Mon Sep 17 00:00:00 2001 From: bubnikv Date: Wed, 13 Dec 2017 14:12:47 +0100 Subject: [PATCH] Update the maximum volumetric flow hint at the filament page when the page gets activated, so that the print & printer profile changes are reflected immediately. --- lib/Slic3r/GUI/Tab.pm | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/lib/Slic3r/GUI/Tab.pm b/lib/Slic3r/GUI/Tab.pm index fa8d881b0..52ee761b9 100644 --- a/lib/Slic3r/GUI/Tab.pm +++ b/lib/Slic3r/GUI/Tab.pm @@ -1243,6 +1243,12 @@ sub _update { for qw(min_fan_speed disable_fan_first_layers); } +sub OnActivate { + my ($self) = @_; + $self->{volumetric_speed_description_line}->SetText( + Slic3r::GUI::PresetHints::maximum_volumetric_flow_description(wxTheApp->{preset_bundle})); +} + package Slic3r::GUI::Tab::Printer; use base 'Slic3r::GUI::Tab'; use Wx qw(wxTheApp :sizer :button :bitmap :misc :id :icon :dialog);