Browse Source

Only update msgpanel when dimension started

Fixes: lp:1765118
* https://bugs.launchpad.net/kicad/+bug/1765118
pull/17/head
Seth Hillbrand 8 years ago
parent
commit
f68268c8ca
  1. 5
      pcbnew/tools/drawing_tool.cpp

5
pcbnew/tools/drawing_tool.cpp

@ -623,7 +623,10 @@ int DRAWING_TOOL::DrawDimension( const TOOL_EVENT& aEvent )
// Show a preview of the item
m_view->Update( &preview );
frame()->SetMsgPanel( dimension );
if( step )
frame()->SetMsgPanel( dimension );
else
frame()->SetMsgPanel( board() );
}
}

Loading…
Cancel
Save