Revert "Fix crash when opening schematic setup dialog"

This reverts commit 1a5fb68ace.

[It was already fixed by b7d53e4b18]
This commit is contained in:
Roberto Fernandez Bautista 2023-07-16 21:47:27 +02:00
parent 1a5fb68ace
commit 6f035de988
1 changed files with 1 additions and 1 deletions

View File

@ -52,7 +52,6 @@ PAGED_DIALOG::PAGED_DIALOG( wxWindow* aParent, const wxString& aTitle, bool aSho
m_resetButton( nullptr ),
m_openPrefsDirButton( nullptr ),
m_cancelButton( nullptr ),
m_openPreferencesButton( nullptr ),
m_title( aTitle )
{
wxBoxSizer* mainSizer = new wxBoxSizer( wxVERTICAL );
@ -96,6 +95,7 @@ PAGED_DIALOG::PAGED_DIALOG( wxWindow* aParent, const wxString& aTitle, bool aSho
m_buttonsSizer->Add( m_openPrefsDirButton, 0, wxALIGN_CENTER_VERTICAL | wxRIGHT | wxLEFT, 5 );
}
if( !aAuxiliaryAction.IsEmpty() )
{
m_auxiliaryButton = new wxButton( this, wxID_ANY, aAuxiliaryAction );