Refresh screen after canvas switch

Fixes https://gitlab.com/kicad/code/kicad/issues/7335
This commit is contained in:
Seth Hillbrand 2021-01-29 15:33:19 -08:00
parent b64611af7a
commit af3789571e
1 changed files with 1 additions and 0 deletions

View File

@ -595,6 +595,7 @@ int COMMON_TOOLS::SwitchCanvas( const TOOL_EVENT& aEvent )
else else
wxFAIL_MSG( "Unknown canvas type" ); wxFAIL_MSG( "Unknown canvas type" );
m_frame->HardRedraw();
return 0; return 0;
} }