From 6a5f305684dadbe5d5c8688388279c570d8c761b Mon Sep 17 00:00:00 2001 From: Jeff Young Date: Sun, 5 Mar 2023 16:05:56 +0000 Subject: [PATCH] Allow others to also process units changed event. Fixes https://gitlab.com/kicad/code/kicad/issues/14156 --- 3d-viewer/dialogs/panel_preview_3d_model.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/3d-viewer/dialogs/panel_preview_3d_model.cpp b/3d-viewer/dialogs/panel_preview_3d_model.cpp index aadc5647e0..53693173c3 100644 --- a/3d-viewer/dialogs/panel_preview_3d_model.cpp +++ b/3d-viewer/dialogs/panel_preview_3d_model.cpp @@ -561,6 +561,8 @@ void PANEL_PREVIEW_3D_MODEL::onUnitsChanged( wxCommandEvent& aEvent ) xoff->SetValue( formatOffsetValue( xoff_mm ) ); yoff->SetValue( formatOffsetValue( yoff_mm ) ); zoff->SetValue( formatOffsetValue( zoff_mm ) ); + + aEvent.Skip(); }