From 7860b0c4fe75d6b07b4334b14baa7c3fc53ac1ea Mon Sep 17 00:00:00 2001 From: Jon Evans Date: Wed, 29 Nov 2017 20:58:47 -0500 Subject: [PATCH] Restore "Flip Board" checkbox state when switching canvases Fixes: lp:1733936 * https://bugs.launchpad.net/kicad/+bug/1733936 --- pcbnew/pcbframe.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pcbnew/pcbframe.cpp b/pcbnew/pcbframe.cpp index 28cd228310..cad1d5075d 100644 --- a/pcbnew/pcbframe.cpp +++ b/pcbnew/pcbframe.cpp @@ -766,6 +766,10 @@ void PCB_EDIT_FRAME::enableGALSpecificMenus() if( GetMenuBar()->FindItem( id_list[ii] ) ) GetMenuBar()->FindItem( id_list[ii] )->Enable( enbl ); } + + // Update settings for GAL menus + auto view = GetGalCanvas()->GetView(); + GetMenuBar()->FindItem( ID_MENU_PCB_FLIP_VIEW )->Check( view->IsMirroredX() ); } }