FIX:delete the code for connecting to the machine and switching to a combo box

jira: github 6231
Change-Id: Ic0b043ae4bd27d3a6d41bf4a6b3f95dd532fecee
This commit is contained in:
zhou.xu 2025-03-27 21:14:00 +08:00 committed by lane.wei
parent 89aa62f8b4
commit 8df494e358

View File

@ -8041,7 +8041,6 @@ void Plater::priv::on_combobox_select(wxCommandEvent &evt)
if (combo && combo->is_drop_down()) { if (combo && combo->is_drop_down()) {
sidebar->update_soft_first_start_state(); sidebar->update_soft_first_start_state();
} }
if (q->sidebar().is_new_project_in_gcode3mf()) { return; }
PlaterPresetComboBox* preset_combo_box = dynamic_cast<PlaterPresetComboBox*>(evt.GetEventObject()); PlaterPresetComboBox* preset_combo_box = dynamic_cast<PlaterPresetComboBox*>(evt.GetEventObject());
if (preset_combo_box) { if (preset_combo_box) {
this->on_select_preset(evt); this->on_select_preset(evt);