diff --git a/eeschema/sim/sim_plot_frame.cpp b/eeschema/sim/sim_plot_frame.cpp index a850657d0e..c13afd4a4d 100644 --- a/eeschema/sim/sim_plot_frame.cpp +++ b/eeschema/sim/sim_plot_frame.cpp @@ -36,6 +36,7 @@ #include #include #include +#include #include "string_utils.h" #include "ngspice_helpers.h" #include @@ -1617,8 +1618,12 @@ void SIM_PLOT_FRAME::onShowNetlist( wxCommandEvent& event ) Connect( wxEVT_CLOSE_WINDOW, wxCloseEventHandler( NETLIST_VIEW_DIALOG::onClose ), nullptr, this ); + m_scintillaTricks = std::make_unique( text, wxT( "{}" ), false ); + finishDialogSettings(); } + + std::unique_ptr m_scintillaTricks; }; if( m_schematicFrame == nullptr || m_simulator == nullptr )