Fixes: lp:1646224 (Simulation: small tune field)

https://bugs.launchpad.net/kicad/+bug/1646224
This commit is contained in:
Marco Inacio
2016-12-02 08:58:01 +01:00
committed by jean-pierre charras
parent 6d6542e133
commit c6cbc9ec95
4 changed files with 811 additions and 288 deletions
+3 -3
View File
@@ -297,10 +297,10 @@ void SIM_PLOT_FRAME::AddTuner( SCH_COMPONENT* aComponent )
try
{
TUNER_SLIDER* tuner = new TUNER_SLIDER( this, m_sidePanel, aComponent );
TUNER_SLIDER* tuner = new TUNER_SLIDER( this, m_tunePanel, aComponent );
m_tuneSizer->Add( tuner );
m_tuners.push_back( tuner );
m_sidePanel->Layout();
m_tunePanel->Layout();
}
catch( ... )
{
@@ -315,7 +315,7 @@ void SIM_PLOT_FRAME::RemoveTuner( TUNER_SLIDER* aTuner, bool aErase )
m_tuners.remove( aTuner );
aTuner->Destroy();
m_sidePanel->Layout();
m_tunePanel->Layout();
}