Update ratsnest after properties are changed.

This commit is contained in:
Maciej Suminski 2015-06-25 17:36:57 +02:00
parent f3c73f5947
commit ac6a90afa3
1 changed files with 4 additions and 2 deletions

View File

@ -377,10 +377,12 @@ int EDIT_TOOL::Properties( const TOOL_EVENT& aEvent )
{ {
processChanges( currentChange ); processChanges( currentChange );
updateRatsnest( true );
getModel<BOARD>()->GetRatsnest()->Recalculate();
item->ViewUpdate(); item->ViewUpdate();
RN_DATA* ratsnest = getModel<BOARD>()->GetRatsnest();
ratsnest->Update( item );
ratsnest->Recalculate();
m_toolMgr->RunAction( COMMON_ACTIONS::pointEditorUpdate, true ); m_toolMgr->RunAction( COMMON_ACTIONS::pointEditorUpdate, true );
} }