Browse Source

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
pull/19/head
Seth Hillbrand 3 months ago
parent
commit
b0a6dc4acf
  1. 4
      eeschema/dialogs/dialog_symbol_chooser.h

4
eeschema/dialogs/dialog_symbol_chooser.h

@ -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;

Loading…
Cancel
Save