mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-10-10 17:21:10 +00:00
fix: null m_ixex_mode_combo in TabPrint::clear_pages() to prevent dangling pointer crash
Same class of bug as the TabPrinter fix: clear_pages() destroys all page widgets but didn't null m_ixex_mode_combo, causing a SIGSEGV in refresh_ixex_mode_combo() when load_current_preset() ran after a page rebuild (e.g. triggered by Plater::reset()). Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Sonnet 4.6
parent
f4808ae7ba
commit
185b7084d2
@@ -2903,6 +2903,7 @@ void TabPrint::clear_pages()
|
||||
|
||||
m_recommended_thin_wall_thickness_description_line = nullptr;
|
||||
m_top_bottom_shell_thickness_explanation = nullptr;
|
||||
m_ixex_mode_combo = nullptr;
|
||||
}
|
||||
|
||||
//BBS: GUI refactor
|
||||
|
||||
Reference in New Issue
Block a user