From 5c6987137dfb6a9b9dbed8950941dec9ca61b0fb Mon Sep 17 00:00:00 2001 From: YuSanka Date: Tue, 18 Feb 2020 15:44:23 +0100 Subject: [PATCH] Removed code which is redundant now, but causes an issue #3642 (G-Code Export button visible in "non-default" position) All Show/Hide() of active buttons are processed inside show_action_buttons() function --- src/slic3r/GUI/Plater.cpp | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/slic3r/GUI/Plater.cpp b/src/slic3r/GUI/Plater.cpp index 0c6a5ed90..d8cb77f33 100644 --- a/src/slic3r/GUI/Plater.cpp +++ b/src/slic3r/GUI/Plater.cpp @@ -5327,11 +5327,6 @@ void Plater::on_config_change(const DynamicPrintConfig &config) } } - { - const auto prin_host_opt = p->config->option("print_host"); - p->sidebar->show_send(prin_host_opt != nullptr && !prin_host_opt->value.empty()); - } - if (bed_shape_changed) p->set_bed_shape(p->config->option("bed_shape")->values, p->config->option("bed_custom_texture")->value,