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:
parent
49d3440529
commit
643d9901c7
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue