From a9dd5b53351b9edccc54bd0f7576f8e0a3cb2ed3 Mon Sep 17 00:00:00 2001 From: jean-pierre charras Date: Fri, 27 Apr 2018 18:33:13 +0200 Subject: [PATCH] Sim spice fix: the frame size was not the last stored size (like for other frames) but a default fixed value. The frame size (and its subframes) is now the last used. --- eeschema/sim/sim_plot_frame.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/eeschema/sim/sim_plot_frame.cpp b/eeschema/sim/sim_plot_frame.cpp index 850e586c12..2af12bc62f 100644 --- a/eeschema/sim/sim_plot_frame.cpp +++ b/eeschema/sim/sim_plot_frame.cpp @@ -203,8 +203,6 @@ SIM_PLOT_FRAME::SIM_PLOT_FRAME( KIWAY* aKiway, wxWindow* aParent ) // instead of being behind the dialog frame (as it does) m_settingsDlg = NULL; - SetSize( ConvertDialogToPixels( wxSize( 400, 300 ) ) ); - // resize the subwindows size. At least on Windows, calling wxSafeYield before // resizing the subwindows forces the wxSplitWindows size events automatically generated // by wxWidgets to be executed before our resize code.