FIX: air printing and nozzle blob detection issue

jira: STUDIO-6897

Change-Id: I008ddb24b74119d7e4124ae26310b4b86c42a799
This commit is contained in:
liz.li 2024-04-22 11:03:20 +08:00 committed by Lane.Wei
parent 89c72781f8
commit 037f31e12d
2 changed files with 10 additions and 2 deletions

View File

@ -222,6 +222,9 @@ void AMSSetting::create()
m_sizer_air_print_inline->Add(m_tip_air_print_line, 0, wxEXPAND, 0);
m_sizer_air_print_tip->Add(m_sizer_air_print_inline, 1, wxALIGN_CENTER, 0);
m_checkbox_air_print->Hide();
m_title_air_print->Hide();
m_tip_air_print_line->Hide();
// panel img
@ -377,7 +380,7 @@ void AMSSetting::update_switch_filament(bool selected)
void AMSSetting::update_air_printing_detection(bool selected)
{
if (obj->is_support_air_print_detection) {
if (false/*obj->is_support_air_print_detection*/) {
m_checkbox_air_print->Show();
m_title_air_print->Show();
m_tip_air_print_line->Show();

View File

@ -169,7 +169,7 @@ void PrintOptionsDialog::update_options(MachineObject* obj_)
m_cb_filament_tangle->Hide();
line6->Hide();
}
if (obj_->is_support_nozzle_blob_detection) {
if (false/*obj_->is_support_nozzle_blob_detection*/) {
text_nozzle_blob->Show();
m_cb_nozzle_blob->Show();
text_nozzle_blob_caption->Show();
@ -372,6 +372,11 @@ wxBoxSizer* PrintOptionsDialog::create_settings_group(wxWindow* parent)
line7->SetLineColour(STATIC_BOX_LINE_COL);
sizer->Add(line7, 0, wxEXPAND | wxLEFT | wxRIGHT, FromDIP(20));
text_nozzle_blob->Hide();
m_cb_nozzle_blob->Hide();
text_nozzle_blob_caption->Hide();
line7->Hide();
ai_monitoring_level_list->Connect( wxEVT_COMBOBOX, wxCommandEventHandler(PrintOptionsDialog::set_ai_monitor_sensitivity), NULL, this );
return sizer;