mirror of
https://git.mirrors.martin98.com/https://github.com/prusa3d/PrusaSlicer.git
synced 2025-07-13 03:21:49 +08:00
Allow to enter empty value for "G-code thumbnails" option
This commit is contained in:
parent
3d87904e66
commit
0836fbb453
@ -414,7 +414,7 @@ void Field::sys_color_changed()
|
|||||||
template<class T>
|
template<class T>
|
||||||
bool is_defined_input_value(wxWindow* win, const ConfigOptionType& type)
|
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 false;
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user