Don't grey out the retract_speed option when using firmware retraction because it's still used by auto-speed pressure regulator. #3283

This commit is contained in:
Alessandro Ranellucci 2016-11-22 18:46:32 +01:00
parent 52c68955d2
commit 32ba66c48f
2 changed files with 7 additions and 2 deletions

View File

@ -1385,7 +1385,12 @@ sub _update {
# some options only apply when not using firmware retraction
$self->get_field($_, $i)->toggle($retraction && !$config->use_firmware_retraction)
for qw(retract_speed retract_restart_extra wipe);
for qw(retract_restart_extra wipe);
# retraction speed is also used by auto-speed pressure regulator, even when
# user enabled firmware retraction
$self->get_field('retract_speed', $i)->toggle($retraction);
if ($config->use_firmware_retraction && $config->get_at('wipe', $i)) {
my $dialog = Wx::MessageDialog->new($self,
"The Wipe option is not available when using the Firmware Retraction mode.\n"

View File

@ -882,7 +882,7 @@ PrintConfigDef::PrintConfigDef()
def = this->add("retract_speed", coFloats);
def->label = "Speed";
def->full_label = "Retraction Speed";
def->tooltip = "The speed for retractions (it only applies to the extruder motor).";
def->tooltip = "The speed for retractions (it only applies to the extruder motor). If you use the Firmware Retraction option, please note this value still affects the auto-speed pressure regulator.";
def->sidetext = "mm/s";
def->cli = "retract-speed=f@";
{