mirror of
https://git.mirrors.martin98.com/https://github.com/prusa3d/PrusaSlicer.git
synced 2025-08-01 04:12:04 +08:00
Follow up e3a868202d3e5aa6c843bb579886fab3c0e60c4a - fixed assert
This commit is contained in:
parent
e3a868202d
commit
cde530901a
@ -1991,7 +1991,7 @@ public:
|
|||||||
|
|
||||||
void set_enum_labels(GUIType gui_type, const std::initializer_list<std::string_view> il) {
|
void set_enum_labels(GUIType gui_type, const std::initializer_list<std::string_view> il) {
|
||||||
this->enum_def_new();
|
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;
|
this->gui_type = gui_type;
|
||||||
enum_def->set_labels(il);
|
enum_def->set_labels(il);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user