Browse Source

Remove double call to Destroy() for DISPLAY_FOOTPRINTS_FRAME.

Fixes https://gitlab.com/kicad/code/kicad/-/issues/14928
newinvert
Jeff Young 2 years ago
parent
commit
bae8a077b9
  1. 6
      cvpcb/display_footprints_frame.cpp
  2. 2
      cvpcb/display_footprints_frame.h

6
cvpcb/display_footprints_frame.cpp

@ -226,12 +226,6 @@ void DISPLAY_FOOTPRINTS_FRAME::setupUIConditions()
}
void DISPLAY_FOOTPRINTS_FRAME::doCloseWindow()
{
Destroy();
}
void DISPLAY_FOOTPRINTS_FRAME::ReCreateVToolbar()
{
// Currently, no vertical right toolbar.

2
cvpcb/display_footprints_frame.h

@ -46,8 +46,6 @@ public:
DISPLAY_FOOTPRINTS_FRAME( KIWAY* aKiway, wxWindow* aParent );
~DISPLAY_FOOTPRINTS_FRAME() override;
void doCloseWindow() override;
void ReCreateHToolbar() override;
void ReCreateVToolbar() override;
void ReCreateOptToolbar() override;

Loading…
Cancel
Save