From ad0deb16a2bd1c4029786ff45c762cca17a5e5c1 Mon Sep 17 00:00:00 2001 From: Jean-Samuel Reynaud Date: Tue, 3 Apr 2018 12:05:09 +0200 Subject: [PATCH] Fix pcbnew: refresh canvas on opening a file only after mouse move Fixes: lp:1760819 * https://bugs.launchpad.net/kicad/+bug/1760819 --- pcbnew/pcb_edit_frame.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pcbnew/pcb_edit_frame.cpp b/pcbnew/pcb_edit_frame.cpp index 9988587ede..db6122a0a1 100644 --- a/pcbnew/pcb_edit_frame.cpp +++ b/pcbnew/pcb_edit_frame.cpp @@ -966,6 +966,8 @@ void PCB_EDIT_FRAME::onBoardLoaded() // Display the loaded board: Zoom_Automatique( false ); + Refresh(); + SetMsgPanel( GetBoard() ); SetStatusText( wxEmptyString ); }