mirror of
https://git.mirrors.martin98.com/https://github.com/prusa3d/PrusaSlicer.git
synced 2025-08-12 21:09:00 +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 coFloatsOrPercents:
|
||||
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:
|
||||
return true;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user