MsgPanel under control of SetCurItem() only
This commit is contained in:
parent
599b979488
commit
d25add933b
|
@ -415,9 +415,9 @@ void WinEDA_PcbFrame::Show_1_Ratsnest( EDA_BaseStruct* item, wxDC* DC )
|
||||||
* si aucun pad ou module n'a ete localise */
|
* si aucun pad ou module n'a ete localise */
|
||||||
if( (pt_pad == NULL) && (Module == NULL) )
|
if( (pt_pad == NULL) && (Module == NULL) )
|
||||||
{
|
{
|
||||||
MsgPanel->EraseMsgBox();
|
|
||||||
DrawGeneralRatsnest( DC );
|
DrawGeneralRatsnest( DC );
|
||||||
pt_chevelu = (CHEVELU*) m_Pcb->m_Ratsnest;
|
pt_chevelu = (CHEVELU*) m_Pcb->m_Ratsnest;
|
||||||
|
|
||||||
for( ii = m_Pcb->GetNumRatsnests(); (ii > 0) && pt_chevelu; pt_chevelu++, ii-- )
|
for( ii = m_Pcb->GetNumRatsnests(); (ii > 0) && pt_chevelu; pt_chevelu++, ii-- )
|
||||||
pt_chevelu->status &= ~CH_VISIBLE;
|
pt_chevelu->status &= ~CH_VISIBLE;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue