FIX: impl sync extruder information & fix something

Change-Id: I5f7224f646729cba94505487d00015a8e48443c5
(cherry picked from commit 26bf483bfe089cc6730e1c1da452497feb320520)
This commit is contained in:
chunmao.guo
2024-07-08 16:32:21 +08:00
committed by Noisyfox
parent 76a8cc6ba4
commit 9433db8d54
2 changed files with 17 additions and 2 deletions

View File

@@ -4468,6 +4468,7 @@ if (is_marlin_flavor)
}
update_dirty();
on_value_change(opt_key, value);
update();
};
@@ -5571,6 +5572,8 @@ bool Tab::tree_sel_change_delayed(wxCommandEvent& event)
// update_undo_buttons();
this->OnActivate();
m_parent->set_active_tab(this);
m_main_sizer->Show(m_extruder_switch, !m_active_page->m_opt_id_map.empty());
GetParent()->Layout();
m_page_view->Thaw();
return false;