Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Slicer crashes when the first part in the parts list is deleted [1.2.6] #2774
I hope you can reproduce that issue.
added a commit
May 4, 2015
After a long debugging session I was able to find the wxWidgets bug causing this behavior, and I pushed a workaround. The issue is now fixed, and Slic3r does not crash anymore. Thank you @cocoknight for reporting this.
Docs for wxTreeCtrl state that the DeleteChildren method "will not generate any events unlike Delete() method". However, close inspection of the wxWidgets code reveals that DeleteChildren is implemented in MSW as a call to Delete(). So it will generate events, including EVT_TREE_SEL_CHANGED.