Restore "Flip Board" checkbox state when switching canvases
Fixes: lp:1733936 * https://bugs.launchpad.net/kicad/+bug/1733936
This commit is contained in:
parent
a74bad1630
commit
7860b0c4fe
|
@ -766,6 +766,10 @@ void PCB_EDIT_FRAME::enableGALSpecificMenus()
|
||||||
if( GetMenuBar()->FindItem( id_list[ii] ) )
|
if( GetMenuBar()->FindItem( id_list[ii] ) )
|
||||||
GetMenuBar()->FindItem( id_list[ii] )->Enable( enbl );
|
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() );
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue