eeschema: don't clear freshly selected block in HandleBlockEnd() at the first mouse event

Fixes: lp:1813971
* https://bugs.launchpad.net/kicad/+bug/1813971
This commit is contained in:
Tomasz Włostowski 2019-01-31 02:49:44 +01:00
parent ba7b970817
commit 47e28cb5be
1 changed files with 2 additions and 1 deletions

View File

@ -366,7 +366,8 @@ bool SCH_EDIT_FRAME::HandleBlockEnd( wxDC* aDC )
}
view->ShowSelectionArea( false );
view->ClearPreview();
if( !nextcmd )
view->ClearPreview();
view->ShowPreview( nextcmd );
return nextcmd;