From 0836fbb4532a06597ceeebf41fc583c81131567f Mon Sep 17 00:00:00 2001 From: YuSanka Date: Mon, 25 Oct 2021 16:27:53 +0200 Subject: [PATCH] Allow to enter empty value for "G-code thumbnails" option --- src/slic3r/GUI/Field.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/slic3r/GUI/Field.cpp b/src/slic3r/GUI/Field.cpp index 7dbb9d787..52a03eabf 100644 --- a/src/slic3r/GUI/Field.cpp +++ b/src/slic3r/GUI/Field.cpp @@ -414,7 +414,7 @@ void Field::sys_color_changed() template bool is_defined_input_value(wxWindow* win, const ConfigOptionType& type) { - if (!win || (static_cast(win)->GetValue().empty() && type != coString && type != coStrings)) + if (!win || (static_cast(win)->GetValue().empty() && type != coString && type != coStrings && type != coPoints)) return false; return true; }