From 431616981bb1f76210b6097ddbd2c274ac6b1f14 Mon Sep 17 00:00:00 2001 From: jean-pierre charras Date: Wed, 13 Jan 2021 16:17:56 +0100 Subject: [PATCH] pl_editor: fix a typo that copy the end pos Y prm into the end pos X prm Fixes #7088 https://gitlab.com/kicad/code/kicad/issues/7088 --- pagelayout_editor/dialogs/properties_frame.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pagelayout_editor/dialogs/properties_frame.cpp b/pagelayout_editor/dialogs/properties_frame.cpp index 57bda196e2..0a61fa5c19 100644 --- a/pagelayout_editor/dialogs/properties_frame.cpp +++ b/pagelayout_editor/dialogs/properties_frame.cpp @@ -2,7 +2,7 @@ * This program source code file is part of KiCad, a free EDA CAD application. * * Copyright (C) 2013 CERN - * Copyright (C) 2019 KiCad Developers, see AUTHORS.txt for contributors. + * Copyright (C) 2021 KiCad Developers, see AUTHORS.txt for contributors. * @author Jean-Pierre Charras, jp.charras at wanadoo.fr * * This program is free software; you can redistribute it and/or @@ -197,7 +197,7 @@ void PROPERTIES_FRAME::CopyPrmsFromItemToPanel( WS_DATA_ITEM* aItem ) // End point m_textCtrlEndXBinder.SetDoubleValue( - From_User_Unit( EDA_UNITS::MILLIMETRES, aItem->m_End.m_Pos.y ) ); + From_User_Unit( EDA_UNITS::MILLIMETRES, aItem->m_End.m_Pos.x ) ); m_textCtrlEndYBinder.SetDoubleValue( From_User_Unit( EDA_UNITS::MILLIMETRES, aItem->m_End.m_Pos.y ) );