Make sure wxWidgets updates DRC notebook when switching pages.
Fixes: lp:1583466 * https://bugs.launchpad.net/kicad/+bug/1583466
This commit is contained in:
parent
2e79b93b99
commit
a386da9ee9
|
@ -526,6 +526,9 @@ void DIALOG_DRC_CONTROL::OnLeftDClickUnconnected( wxMouseEvent& event )
|
||||||
*/
|
*/
|
||||||
void DIALOG_DRC_CONTROL::OnChangingMarkerList( wxNotebookEvent& event )
|
void DIALOG_DRC_CONTROL::OnChangingMarkerList( wxNotebookEvent& event )
|
||||||
{
|
{
|
||||||
|
// Shouldn't be necessary, but is on at least OSX
|
||||||
|
m_Notebook->ChangeSelection( event.GetSelection() );
|
||||||
|
|
||||||
m_DeleteCurrentMarkerButton->Enable( false );
|
m_DeleteCurrentMarkerButton->Enable( false );
|
||||||
m_ClearanceListBox->SetSelection( -1 );
|
m_ClearanceListBox->SetSelection( -1 );
|
||||||
m_UnconnectedListBox->SetSelection( -1 );
|
m_UnconnectedListBox->SetSelection( -1 );
|
||||||
|
|
Loading…
Reference in New Issue