From f0d18adfb2e5af2ac005161f09ad1a0ab83ff5c5 Mon Sep 17 00:00:00 2001 From: jean-pierre charras Date: Sat, 12 Aug 2023 08:28:01 +0200 Subject: [PATCH] simulator, TUNER_SLIDER: fix incorrect wxWindow parent. The TUNER_SLIDER were displayed in the wrong wxWindow. --- eeschema/widgets/tuner_slider.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eeschema/widgets/tuner_slider.cpp b/eeschema/widgets/tuner_slider.cpp index 97b3566fee..667256133b 100644 --- a/eeschema/widgets/tuner_slider.cpp +++ b/eeschema/widgets/tuner_slider.cpp @@ -41,7 +41,7 @@ TUNER_SLIDER::TUNER_SLIDER( SIMULATOR_FRAME_UI* aFrame, wxWindow* aParent, const SCH_SHEET_PATH& aSheetPath, SCH_SYMBOL* aSymbol ) : - TUNER_SLIDER_BASE( aFrame ), + TUNER_SLIDER_BASE( aParent ), m_symbol( aSymbol->m_Uuid ), m_sheetPath( aSheetPath ), m_ref( aSymbol->GetRef( &aSheetPath ) ),