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
This commit is contained in:
Seth Hillbrand 2025-09-09 07:16:28 -07:00
parent 59dcdb4a4f
commit b0a6dc4acf

View File

@ -77,8 +77,8 @@ public:
*/
std::vector<std::pair<FIELD_T, wxString>> 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;