From bb9a04fc4892efb5742044e0c1e778dc9e765e2f Mon Sep 17 00:00:00 2001 From: YuSanka Date: Tue, 8 Aug 2023 12:00:11 +0200 Subject: [PATCH] Fixed TextCtrl::value_was_changed() function to respect changes, when type of Field is coPoints. --- src/slic3r/GUI/Field.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/slic3r/GUI/Field.cpp b/src/slic3r/GUI/Field.cpp index 74ad028d36..121493b68b 100644 --- a/src/slic3r/GUI/Field.cpp +++ b/src/slic3r/GUI/Field.cpp @@ -588,6 +588,8 @@ bool TextCtrl::value_was_changed() case coFloatOrPercent: case coFloatsOrPercents: return boost::any_cast(m_value) != boost::any_cast(val); + case coPoints: + return boost::any_cast>(m_value) != boost::any_cast>(val); default: return true; }