Browse Source

Eeschema, library viewer: fix a Kicad assert.

pull/13/head
jean-pierre charras 7 years ago
parent
commit
49c94fb928
  1. 3
      eeschema/controle.cpp

3
eeschema/controle.cpp

@ -311,12 +311,11 @@ bool LIB_VIEW_FRAME::GeneralControl( wxDC* aDC, const wxPoint& aPosition, EDA_KE
}
wxPoint pos = aPosition;
wxPoint oldpos = GetCrossHairPosition();
GeneralControlKeyMovement( aHotKey, &pos, true );
// Update cursor position.
m_canvas->CrossHairOn( aDC );
SetCrossHairPosition( pos, true );
RefreshCrossHair( oldpos, aPosition, aDC );
if( aHotKey )
{

Loading…
Cancel
Save