From 5d099bb7897ce224578bb8103bcaed1a3800d49c Mon Sep 17 00:00:00 2001 From: jean-pierre charras Date: Tue, 12 Jan 2021 20:33:35 +0100 Subject: [PATCH] pl_editor: fix a typo that copy the X repeat prm into the Y repeat prm Fixes #7078 https://gitlab.com/kicad/code/kicad/issues/7078 --- pagelayout_editor/dialogs/properties_frame.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pagelayout_editor/dialogs/properties_frame.cpp b/pagelayout_editor/dialogs/properties_frame.cpp index 6c900c9c8d..57bda196e2 100644 --- a/pagelayout_editor/dialogs/properties_frame.cpp +++ b/pagelayout_editor/dialogs/properties_frame.cpp @@ -304,7 +304,7 @@ void PROPERTIES_FRAME::CopyPrmsFromItemToPanel( WS_DATA_ITEM* aItem ) From_User_Unit( EDA_UNITS::MILLIMETRES, aItem->m_IncrementVector.x ) ); m_textCtrlStepYBinder.SetDoubleValue( - From_User_Unit( EDA_UNITS::MILLIMETRES, aItem->m_IncrementVector.x ) ); + From_User_Unit( EDA_UNITS::MILLIMETRES, aItem->m_IncrementVector.y ) ); // The number of widgets was modified, so recalculate sizers m_swItemProperties->Layout();