Revert "Fix crash when opening schematic setup dialog"
This reverts commit1a5fb68ace
. [It was already fixed byb7d53e4b18
]
This commit is contained in:
parent
1a5fb68ace
commit
6f035de988
|
@ -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 );
|
||||
|
|
Loading…
Reference in New Issue