Only update msgpanel when dimension started

Fixes: lp:1765118
* https://bugs.launchpad.net/kicad/+bug/1765118
This commit is contained in:
Seth Hillbrand 2018-04-18 10:05:56 -07:00
parent 7b3dc9c28d
commit f68268c8ca
1 changed files with 4 additions and 1 deletions

View File

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