Fix for #9770 - Filament type not user editable, dropdown only

Follow-up 917c9ad4
This commit is contained in:
YuSanka 2023-03-07 15:27:57 +01:00
parent 1fbbaaae9b
commit e403c0e69c

View File

@ -988,7 +988,6 @@ void Choice::BUILD() {
choice_ctrl* temp; choice_ctrl* temp;
if (m_opt.gui_type != ConfigOptionDef::GUIType::undefined if (m_opt.gui_type != ConfigOptionDef::GUIType::undefined
&& m_opt.gui_type != ConfigOptionDef::GUIType::select_open
&& m_opt.gui_type != ConfigOptionDef::GUIType::select_close) { && m_opt.gui_type != ConfigOptionDef::GUIType::select_close) {
m_is_editable = true; m_is_editable = true;
temp = new choice_ctrl(m_parent, wxID_ANY, wxString(""), wxDefaultPosition, size, 0, nullptr, wxTE_PROCESS_ENTER); temp = new choice_ctrl(m_parent, wxID_ANY, wxString(""), wxDefaultPosition, size, 0, nullptr, wxTE_PROCESS_ENTER);