From 8e34dae347ccdc8276ec921208d6a92465501a71 Mon Sep 17 00:00:00 2001 From: Mikolaj Wielgus Date: Wed, 5 Oct 2022 11:24:04 +0200 Subject: [PATCH] Sim Model Editor: Fix exclude symbol checkbox Fixes https://gitlab.com/kicad/code/kicad/issues/12344 --- eeschema/dialogs/dialog_sim_model.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/eeschema/dialogs/dialog_sim_model.cpp b/eeschema/dialogs/dialog_sim_model.cpp index 2745b37824..8b76eb9667 100644 --- a/eeschema/dialogs/dialog_sim_model.cpp +++ b/eeschema/dialogs/dialog_sim_model.cpp @@ -167,8 +167,6 @@ bool DIALOG_SIM_MODEL::TransferDataToWindow() } } } - - m_excludeSymbolCheckbox->SetValue( !curModel().IsEnabled() ); } else { @@ -190,6 +188,7 @@ bool DIALOG_SIM_MODEL::TransferDataToWindow() } m_overrideCheckbox->SetValue( curModel().HasNonInstanceOverrides() ); + m_excludeSymbolCheckbox->SetValue( !curModel().IsEnabled() ); updateWidgets();