mirror of
https://git.mirrors.martin98.com/https://github.com/prusa3d/PrusaSlicer.git
synced 2025-08-15 14:25:56 +08:00
Fixed TextCtrl::value_was_changed() function to respect changes, when type of Field is coPoints.
This commit is contained in:
parent
096d10ef62
commit
bb9a04fc48
@ -588,6 +588,8 @@ bool TextCtrl::value_was_changed()
|
|||||||
case coFloatOrPercent:
|
case coFloatOrPercent:
|
||||||
case coFloatsOrPercents:
|
case coFloatsOrPercents:
|
||||||
return boost::any_cast<std::string>(m_value) != boost::any_cast<std::string>(val);
|
return boost::any_cast<std::string>(m_value) != boost::any_cast<std::string>(val);
|
||||||
|
case coPoints:
|
||||||
|
return boost::any_cast<std::vector<Vec2d>>(m_value) != boost::any_cast<std::vector<Vec2d>>(val);
|
||||||
default:
|
default:
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user