eeschema: Refresh canvas after clearing

Forces a canvas update to change the highlighting after clearing the
selected item.

Fixes: lp:1809731
* https://bugs.launchpad.net/kicad/+bug/1809731
This commit is contained in:
Seth Hillbrand 2019-02-23 11:05:54 -08:00
parent 49d3440529
commit 643d9901c7
1 changed files with 3 additions and 0 deletions

View File

@ -102,7 +102,10 @@ void SCH_EDIT_FRAME::ExecuteRemoteCommand( const char* cmdline )
if( strcmp( idcmd, "$CLEAR:" ) == 0 )
{
if( text && strcmp( text, "HIGHLIGHTED" ) == 0 )
{
GetCanvas()->GetView()->HighlightItem( nullptr, nullptr );
GetCanvas()->Refresh();
}
return;
}