Follow up e3a868202d
- fixed assert
This commit is contained in:
parent
e3a868202d
commit
cde530901a
1 changed files with 1 additions and 1 deletions
|
@ -1991,7 +1991,7 @@ public:
|
|||
|
||||
void set_enum_labels(GUIType gui_type, const std::initializer_list<std::string_view> il) {
|
||||
this->enum_def_new();
|
||||
assert(gui_type == GUIType::i_enum_open || gui_type == GUIType::f_enum_open || gui_type == ConfigOptionDef::GUIType::select_open);
|
||||
assert(gui_type == GUIType::i_enum_open || gui_type == GUIType::f_enum_open || gui_type == ConfigOptionDef::GUIType::select_close);
|
||||
this->gui_type = gui_type;
|
||||
enum_def->set_labels(il);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue