From b0a6dc4acf5908c2fbd9835b41f32a35bff75477 Mon Sep 17 00:00:00 2001 From: Seth Hillbrand Date: Tue, 9 Sep 2025 07:16:28 -0700 Subject: [PATCH] Use actual value for symbol chooser options When we moved to the single element, the pointer always resolved to true, which was sometimes not what we wanted --- eeschema/dialogs/dialog_symbol_chooser.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/eeschema/dialogs/dialog_symbol_chooser.h b/eeschema/dialogs/dialog_symbol_chooser.h index 339d93391f..510d02c2bb 100644 --- a/eeschema/dialogs/dialog_symbol_chooser.h +++ b/eeschema/dialogs/dialog_symbol_chooser.h @@ -77,8 +77,8 @@ public: */ std::vector> GetFields() const; - bool GetKeepSymbol() { return m_keepSymbol; } - bool GetPlaceAllUnits() { return m_useUnits; } + bool GetKeepSymbol() { return m_keepSymbol->GetValue(); } + bool GetPlaceAllUnits() { return m_useUnits->GetValue(); } public: static std::mutex g_Mutex;