Pcbnew: make placing a grid origin enable the save command.

Fixes lp:1730371

https://bugs.launchpad.net/kicad/+bug/1730371
This commit is contained in:
Maurice 2017-11-13 12:00:02 -05:00 committed by Wayne Stambaugh
parent f7c0562c8b
commit 5e5abc5241
1 changed files with 2 additions and 1 deletions

View File

@ -3,7 +3,7 @@
*
* Copyright (C) 2007 Jean-Pierre Charras, jean-pierre.charras@gipsa-lab.inpg.fr
* Copyright (C) 2011 Wayne Stambaugh <stambaughw@verizon.net>
* Copyright (C) 1992-2016 KiCad Developers, see AUTHORS.txt for contributors.
* Copyright (C) 1992-2017 KiCad Developers, see AUTHORS.txt for contributors.
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
@ -437,6 +437,7 @@ void PCB_EDIT_FRAME::OnLeftClick( wxDC* aDC, const wxPoint& aPosition )
m_canvas->DrawGridAxis( aDC, GR_XOR, GetBoard()->GetGridOrigin() );
SetGridOrigin( GetCrossHairPosition() );
m_canvas->DrawGridAxis( aDC, GR_COPY, GetBoard()->GetGridOrigin() );
OnModify();
break;
case ID_PCB_DRAW_VIA_BUTT: