Allow to enter empty value for "G-code thumbnails" option

This commit is contained in:
YuSanka 2021-10-25 16:27:53 +02:00
parent 3d87904e66
commit 0836fbb453

View File

@ -414,7 +414,7 @@ void Field::sys_color_changed()
template<class T>
bool is_defined_input_value(wxWindow* win, const ConfigOptionType& type)
{
if (!win || (static_cast<T*>(win)->GetValue().empty() && type != coString && type != coStrings))
if (!win || (static_cast<T*>(win)->GetValue().empty() && type != coString && type != coStrings && type != coPoints))
return false;
return true;
}