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

jira: github 6231
Change-Id: Ic0b043ae4bd27d3a6d41bf4a6b3f95dd532fecee
(cherry picked from commit 8df494e35825008c51440ba6e588ce2bdd710cbd)
This commit is contained in:
zhou.xu
2025-03-27 21:14:00 +08:00
committed by Noisyfox
parent 2d3d68c922
commit 36cd741a3e

View File

@@ -7980,7 +7980,6 @@ void Plater::priv::set_current_panel(wxPanel* panel, bool no_slice)
// BBS
void Plater::priv::on_combobox_select(wxCommandEvent &evt)
{
if (q->sidebar().is_new_project_in_gcode3mf()) { return; }
PlaterPresetComboBox* preset_combo_box = dynamic_cast<PlaterPresetComboBox*>(evt.GetEventObject());
if (preset_combo_box) {
this->on_select_preset(evt);