From 8306cd3b9be338b03947daaf5764f2e62422be5c Mon Sep 17 00:00:00 2001 From: Maciej Suminski Date: Thu, 11 Aug 2016 14:42:06 +0200 Subject: [PATCH] Fixed tuners layout after a tuner is removed --- eeschema/sim/sim_plot_frame.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/eeschema/sim/sim_plot_frame.cpp b/eeschema/sim/sim_plot_frame.cpp index 564bcde9a3..562c79ddc5 100644 --- a/eeschema/sim/sim_plot_frame.cpp +++ b/eeschema/sim/sim_plot_frame.cpp @@ -267,9 +267,7 @@ void SIM_PLOT_FRAME::RemoveTuner( TUNER_SLIDER* aTuner ) m_plots[plotPanel].m_tuners.remove( aTuner ); aTuner->Destroy(); - Layout(); - Layout(); - Layout(); + m_sidePanel->Layout(); }