@@ -451,6 +451,7 @@ static std::string get_filament_id(std::string vendor_typr_serial)
451451 user_filament_id = " P" + calculate_md5 (vendor_typr_serial + get_curr_time ()).substr (0 , 7 );
452452 }
453453 }
454+ BOOST_LOG_TRIVIAL (info) << __FUNCTION__ << " filament name is: " << vendor_typr_serial << " and create filament id is: " << user_filament_id;
454455 return user_filament_id;
455456}
456457
@@ -1483,8 +1484,8 @@ wxBoxSizer *CreatePrinterPresetDialog::create_step_switch_item()
14831484 horizontal_sizer->Add (divider_line, 0 , wxLEFT | wxRIGHT | wxALIGN_CENTER_VERTICAL, FromDIP (3 ));
14841485 m_step_2 = new wxStaticBitmap (step_switch_panel, wxID_ANY, create_scaled_bitmap (" step_2_ready" , nullptr , FromDIP (20 )), wxDefaultPosition, wxDefaultSize);
14851486 horizontal_sizer->Add (m_step_2, 0 , wxEXPAND | wxLEFT | wxRIGHT | wxALIGN_CENTER_VERTICAL, FromDIP (3 ));
1486- wxStaticText *static_improt_presets_text = new wxStaticText (step_switch_panel, wxID_ANY, _L (" Improt Preset" ), wxDefaultPosition, wxDefaultSize);
1487- horizontal_sizer->Add (static_improt_presets_text , 0 , wxEXPAND | wxLEFT | wxRIGHT | wxALIGN_CENTER_VERTICAL, FromDIP (3 ));
1487+ wxStaticText *static_import_presets_text = new wxStaticText (step_switch_panel, wxID_ANY, _L (" Import Preset" ), wxDefaultPosition, wxDefaultSize);
1488+ horizontal_sizer->Add (static_import_presets_text , 0 , wxEXPAND | wxLEFT | wxRIGHT | wxALIGN_CENTER_VERTICAL, FromDIP (3 ));
14881489 horizontal_sizer->Add (0 , 0 , 1 , wxEXPAND, 0 );
14891490
14901491 step_switch_panel->SetSizer (horizontal_sizer);
0 commit comments