From 545212eb13bc496a22d7ba16df01da2ba80cc4f3 Mon Sep 17 00:00:00 2001 From: Mikolaj Wielgus Date: Fri, 16 Sep 2022 06:56:51 +0200 Subject: [PATCH] Sim Window: Support dark theme --- eeschema/sim/sim_plot_frame.cpp | 5 +++++ 1 file changed, 5 insertions(+) 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 )