Don't display all the footprint info when an edge is selected.

Fixes: lp:1800556
* https://bugs.launchpad.net/kicad/+bug/1800556
This commit is contained in:
Jeff Young 2018-10-30 11:32:42 +00:00
parent 364be90dc5
commit 74118a2e9d
2 changed files with 1 additions and 5 deletions

View File

@ -283,10 +283,6 @@ void EDGE_MODULE::GetMsgPanelInfo( EDA_UNITS_T aUnits, std::vector< MSG_PANEL_IT
return;
aList.push_back( MSG_PANEL_ITEM( _( "Footprint" ), module->GetReference(), DARKCYAN ) );
aList.push_back( MSG_PANEL_ITEM( _( "Value" ), module->GetValue(), BLUE ) );
msg.Printf( wxT( "%8.8lX" ), module->GetTimeStamp() );
aList.push_back( MSG_PANEL_ITEM( _( "TimeStamp" ), msg, BROWN ) );
aList.push_back( MSG_PANEL_ITEM( _( "Footprint Layer" ), module->GetLayerName(), RED ) );
// append the features shared with the base class
DRAWSEGMENT::GetMsgPanelInfo( aUnits, aList );

View File

@ -425,7 +425,7 @@ int POINT_EDITOR::OnSelectionChange( const TOOL_EVENT& aEvent )
m_editPoints.reset();
}
frame()->SetMsgPanel( board() );
frame()->UpdateMsgPanel();
return 0;
}