Fix new project crash on Windows if multi-extruder printer profile is edited (#9600)

Fix new project crash on Windows if profile is edited
This commit is contained in:
Noisyfox
2025-05-14 11:36:50 +08:00
committed by GitHub
parent 1a5b238ba4
commit 3b658cba3b
2 changed files with 8 additions and 4 deletions

View File

@@ -57,7 +57,7 @@ class OG_CustomCtrl;
// Single Tab page containing a{ vsizer } of{ optgroups }
// package Slic3r::GUI::Tab::Page;
using ConfigOptionsGroupShp = std::shared_ptr<ConfigOptionsGroup>;
class Page// : public wxScrolledWindow
class Page: public std::enable_shared_from_this<Page>// : public wxScrolledWindow
{
//BBS: GUI refactor
wxPanel* m_tab_owner;