Loading pcbnew/modules.cpp +4 −2 Original line number Diff line number Diff line Loading @@ -325,6 +325,7 @@ bool WinEDA_PcbFrame::Delete_Module( MODULE* module, module->SetState( DELETED, ON ); SaveCopyInUndoList( module, UR_DELETED ); if( DC && GetBoard()->IsElementVisible( RATSNEST_VISIBLE ) ) Compile_Ratsnest( DC, true ); // Redraw the full screen to ensure perfect display of board and ratsnest. Loading Loading @@ -393,6 +394,7 @@ void WinEDA_PcbFrame::Change_Side_Module( MODULE* Module, wxDC* DC ) if( DC ) { Module->Draw( DrawPanel, DC, GR_OR ); if( GetBoard()->IsElementVisible( RATSNEST_VISIBLE ) ) Compile_Ratsnest( DC, true ); } } Loading pcbnew/xchgmod.cpp +6 −3 Original line number Diff line number Diff line Loading @@ -244,6 +244,7 @@ void DIALOG_EXCHANGE_MODULE::Change_Module() if( Change_1_Module( m_CurrentModule, newmodulename, &pickList, true ) ) { if( m_Parent->GetBoard()->IsElementVisible( RATSNEST_VISIBLE ) ) m_Parent->Compile_Ratsnest( NULL, true ); m_Parent->DrawPanel->Refresh(); } Loading Loading @@ -325,6 +326,7 @@ void DIALOG_EXCHANGE_MODULE::Change_ModuleId( bool aUseValue ) if( change ) { if( m_Parent->GetBoard()->IsElementVisible( RATSNEST_VISIBLE ) ) m_Parent->Compile_Ratsnest( NULL, true ); m_Parent->DrawPanel->Refresh(); } Loading Loading @@ -374,6 +376,7 @@ void DIALOG_EXCHANGE_MODULE::Change_ModuleAll() if( change ) { if( m_Parent->GetBoard()->IsElementVisible( RATSNEST_VISIBLE ) ) m_Parent->Compile_Ratsnest( NULL, true ); m_Parent->DrawPanel->Refresh(); } Loading Loading
pcbnew/modules.cpp +4 −2 Original line number Diff line number Diff line Loading @@ -325,6 +325,7 @@ bool WinEDA_PcbFrame::Delete_Module( MODULE* module, module->SetState( DELETED, ON ); SaveCopyInUndoList( module, UR_DELETED ); if( DC && GetBoard()->IsElementVisible( RATSNEST_VISIBLE ) ) Compile_Ratsnest( DC, true ); // Redraw the full screen to ensure perfect display of board and ratsnest. Loading Loading @@ -393,6 +394,7 @@ void WinEDA_PcbFrame::Change_Side_Module( MODULE* Module, wxDC* DC ) if( DC ) { Module->Draw( DrawPanel, DC, GR_OR ); if( GetBoard()->IsElementVisible( RATSNEST_VISIBLE ) ) Compile_Ratsnest( DC, true ); } } Loading
pcbnew/xchgmod.cpp +6 −3 Original line number Diff line number Diff line Loading @@ -244,6 +244,7 @@ void DIALOG_EXCHANGE_MODULE::Change_Module() if( Change_1_Module( m_CurrentModule, newmodulename, &pickList, true ) ) { if( m_Parent->GetBoard()->IsElementVisible( RATSNEST_VISIBLE ) ) m_Parent->Compile_Ratsnest( NULL, true ); m_Parent->DrawPanel->Refresh(); } Loading Loading @@ -325,6 +326,7 @@ void DIALOG_EXCHANGE_MODULE::Change_ModuleId( bool aUseValue ) if( change ) { if( m_Parent->GetBoard()->IsElementVisible( RATSNEST_VISIBLE ) ) m_Parent->Compile_Ratsnest( NULL, true ); m_Parent->DrawPanel->Refresh(); } Loading Loading @@ -374,6 +376,7 @@ void DIALOG_EXCHANGE_MODULE::Change_ModuleAll() if( change ) { if( m_Parent->GetBoard()->IsElementVisible( RATSNEST_VISIBLE ) ) m_Parent->Compile_Ratsnest( NULL, true ); m_Parent->DrawPanel->Refresh(); } Loading