From 1175d50486637ad5cc813241e8de22f44048059d Mon Sep 17 00:00:00 2001 From: Wayne Stambaugh Date: Thu, 28 Dec 2017 14:17:47 -0500 Subject: [PATCH] Eeschema: fix default ERC dialog tab. --- eeschema/dialogs/dialog_erc_base.cpp | 4 ++-- eeschema/dialogs/dialog_erc_base.fbp | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/eeschema/dialogs/dialog_erc_base.cpp b/eeschema/dialogs/dialog_erc_base.cpp index 9e5ef3aac0..b7bbc38aca 100644 --- a/eeschema/dialogs/dialog_erc_base.cpp +++ b/eeschema/dialogs/dialog_erc_base.cpp @@ -108,7 +108,7 @@ DIALOG_ERC_BASE::DIALOG_ERC_BASE( wxWindow* parent, wxWindowID id, const wxStrin m_PanelERC->SetSizer( bercSizer ); m_PanelERC->Layout(); bercSizer->Fit( m_PanelERC ); - m_NoteBook->AddPage( m_PanelERC, _("ERC"), false ); + m_NoteBook->AddPage( m_PanelERC, _("ERC"), true ); m_PanelERCOptions = new wxPanel( m_NoteBook, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL ); wxBoxSizer* m_panelMatrixSizer; m_panelMatrixSizer = new wxBoxSizer( wxVERTICAL ); @@ -144,7 +144,7 @@ DIALOG_ERC_BASE::DIALOG_ERC_BASE( wxWindow* parent, wxWindowID id, const wxStrin m_PanelERCOptions->SetSizer( m_panelMatrixSizer ); m_PanelERCOptions->Layout(); m_panelMatrixSizer->Fit( m_PanelERCOptions ); - m_NoteBook->AddPage( m_PanelERCOptions, _("Options"), true ); + m_NoteBook->AddPage( m_PanelERCOptions, _("Options"), false ); bSizer1->Add( m_NoteBook, 1, wxEXPAND | wxALL, 5 ); diff --git a/eeschema/dialogs/dialog_erc_base.fbp b/eeschema/dialogs/dialog_erc_base.fbp index 1e23e6db77..bbbb719825 100644 --- a/eeschema/dialogs/dialog_erc_base.fbp +++ b/eeschema/dialogs/dialog_erc_base.fbp @@ -178,7 +178,7 @@ ERC - 0 + 1 1 1 @@ -1622,7 +1622,7 @@ Options - 1 + 0 1 1