diff options
Diffstat (limited to 'pokemodr/PointWidget.cpp')
| -rw-r--r-- | pokemodr/PointWidget.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/pokemodr/PointWidget.cpp b/pokemodr/PointWidget.cpp index 8fa61091..c342f8ad 100644 --- a/pokemodr/PointWidget.cpp +++ b/pokemodr/PointWidget.cpp @@ -33,6 +33,8 @@ Point PointWidget::value() const void PointWidget::setValue(const Point& value) { + if (m_value == value) + return; m_value = value; varX->setValue(m_value.x()); varY->setValue(m_value.y()); |
