no tab change when export gcode & gui typo

This commit is contained in:
remi durand 2021-06-02 21:13:33 +02:00
parent 1b5bea5ec9
commit cdd0a728f1
2 changed files with 2 additions and 2 deletions

View File

@ -405,7 +405,7 @@ void PrintConfigDef::init_fff_params()
def->full_label = L("Internal bridge speed");
def->category = OptionCategory::speed;
def->tooltip = L("Speed for printing the bridges that support the top layer.\nCan be a % of the bridge speed.");
def->sidetext = L("mm/s");
def->sidetext = L("mm/s or %");
def->ratio_over = "bridge_speed";
def->min = 0;
def->mode = comAdvanced;

View File

@ -3737,7 +3737,7 @@ void Plater::priv::on_slicing_update(SlicingStatusEvent &evt)
void Plater::priv::on_slicing_completed(wxCommandEvent & evt)
{
notification_manager->push_slicing_complete_notification(evt.GetInt(), is_sidebar_collapsed());
if(wxGetApp().app_config->get("auto_switch_preview") == "1")
if(wxGetApp().app_config->get("auto_switch_preview") == "1" && !this->preview->can_display_gcode())
main_frame->select_tab(MainFrame::ETabType::PlaterPreview);
switch (this->printer_technology) {
case ptFFF: