Fix instantly disappearing pop-up menu in eeschema

Fixes: lp:1798453
* https://bugs.launchpad.net/kicad/+bug/1798453
This commit is contained in:
Maciej Suminski 2018-11-06 17:20:55 +01:00
parent 8091573bf7
commit d6bc402f14
1 changed files with 1 additions and 1 deletions

View File

@ -300,7 +300,7 @@ void SCH_DRAW_PANEL::OnMouseEvent( wxMouseEvent& event )
if( !event.IsButton() && !event.Moving() && !event.Dragging() )
return;
if( event.RightDown() )
if( event.RightUp() )
{
OnRightClick( event );
return;