more layer listbox issues
This commit is contained in:
parent
9e46a77975
commit
8ef7cf7708
|
@ -81,6 +81,7 @@ void WinEDA_PcbFrame::Files_io( wxCommandEvent& event )
|
|||
GetScreen()->m_FileName.Printf( wxT( "%s%cnoname%s" ),
|
||||
wxGetCwd().GetData(), DIR_SEP, PcbExtBuffer.GetData() );
|
||||
SetTitle( GetScreen()->m_FileName );
|
||||
ReCreateLayerBox( NULL );
|
||||
break;
|
||||
|
||||
case ID_LOAD_FILE_1:
|
||||
|
|
|
@ -90,6 +90,9 @@ bool WinEDA_App::OnInit()
|
|||
if( !FFileName.IsEmpty() )
|
||||
{
|
||||
m_PcbFrame->LoadOnePcbFile( FFileName, FALSE );
|
||||
|
||||
// update the layer names in the listbox
|
||||
m_PcbFrame->ReCreateLayerBox( NULL );
|
||||
}
|
||||
|
||||
return TRUE;
|
||||
|
|
|
@ -629,6 +629,9 @@ void WinEDA_PcbFrame::ReCreateAuxiliaryToolbar()
|
|||
m_SelViaSizeBox_Changed = TRUE;
|
||||
m_SelTrackWidthBox_Changed = TRUE;
|
||||
|
||||
|
||||
ReCreateLayerBox( NULL );
|
||||
|
||||
SetToolbars();
|
||||
}
|
||||
|
||||
|
|
11
todo.txt
11
todo.txt
|
@ -74,3 +74,14 @@ edges editable. (DONE)
|
|||
2) final solution: get rid of requirement for tracks buried within a zone.
|
||||
Review the GEDA source code and other sources to gather ideas before doing 2).
|
||||
|
||||
2008-Apr-29 Assigned To:
|
||||
asked by: Dick Hollenbeck
|
||||
================================================================================
|
||||
+pcbnew
|
||||
When picking new board from the menu, when an existing board is already
|
||||
in memory, the number of layers in the new board is not set to the default
|
||||
but rather to the number of layers in the previously loaded board, and with
|
||||
the default layer names, rather than the layer names of the previously
|
||||
loaded board. I think the number of layers should be reduced to the
|
||||
default and the default layer names should be used.
|
||||
|
||||
|
|
Loading…
Reference in New Issue