mirror of
https://github.com/cookiengineer/audacity
synced 2025-12-04 15:50:10 +01:00
Fix crash when opening Screenshot Tools
This commit is contained in:
@@ -437,6 +437,8 @@ void ToolBar::ReCreateButtons()
|
|||||||
|
|
||||||
// Get rid of any children we may have
|
// Get rid of any children we may have
|
||||||
DestroyChildren();
|
DestroyChildren();
|
||||||
|
mGrabber = NULL;
|
||||||
|
mResizer = NULL;
|
||||||
|
|
||||||
// Create the main sizer
|
// Create the main sizer
|
||||||
wxBoxSizer *ms = new wxBoxSizer( wxHORIZONTAL );
|
wxBoxSizer *ms = new wxBoxSizer( wxHORIZONTAL );
|
||||||
|
|||||||
Reference in New Issue
Block a user