diff --git a/src/GUI/OptionsGroup/Field.hpp b/src/GUI/OptionsGroup/Field.hpp index bd083def6..fecedf940 100644 --- a/src/GUI/OptionsGroup/Field.hpp +++ b/src/GUI/OptionsGroup/Field.hpp @@ -221,6 +221,7 @@ public: } return this->_choice->GetValue().ToStdString(); } + ~UI_Choice() { _choice->Destroy(); } /// Returns a bare pointer to the underlying combobox, usually for test interface