From 5e5abc52416c44b5b5b9fb9daf5e0cff1be5a0ce Mon Sep 17 00:00:00 2001 From: Maurice Date: Mon, 13 Nov 2017 12:00:02 -0500 Subject: [PATCH] Pcbnew: make placing a grid origin enable the save command. Fixes lp:1730371 https://bugs.launchpad.net/kicad/+bug/1730371 --- pcbnew/onleftclick.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pcbnew/onleftclick.cpp b/pcbnew/onleftclick.cpp index ad5e363463..0d2055cf92 100644 --- a/pcbnew/onleftclick.cpp +++ b/pcbnew/onleftclick.cpp @@ -3,7 +3,7 @@ * * Copyright (C) 2007 Jean-Pierre Charras, jean-pierre.charras@gipsa-lab.inpg.fr * Copyright (C) 2011 Wayne Stambaugh - * 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: