Browse Source

PCB_EDIT_FRAME::HardRedraw(): also refresh message panel and ratsnest.

jobs
jean-pierre charras 1 year ago
parent
commit
f0b92b0c5d
  1. 8
      pcbnew/pcb_edit_frame.cpp

8
pcbnew/pcb_edit_frame.cpp

@ -1723,6 +1723,14 @@ void PCB_EDIT_FRAME::OnModify()
void PCB_EDIT_FRAME::HardRedraw()
{
Update3DView( true, true );
std::shared_ptr<CONNECTIVITY_DATA> connectivity = GetBoard()->GetConnectivity();
connectivity->RecalculateRatsnest( nullptr );
GetCanvas()->RedrawRatsnest();
std::vector<MSG_PANEL_ITEM> msg_list;
GetBoard()->GetMsgPanelInfo( this, msg_list );
SetMsgPanel( msg_list );
}

Loading…
Cancel
Save