summaryrefslogtreecommitdiffstats
path: root/src/ui/widget/point.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/ui/widget/point.cpp')
-rw-r--r--src/ui/widget/point.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/ui/widget/point.cpp b/src/ui/widget/point.cpp
index 634329ddc..1efb26a78 100644
--- a/src/ui/widget/point.cpp
+++ b/src/ui/widget/point.cpp
@@ -149,6 +149,11 @@ Point::getYValue() const
{
return ywidget.getValue();
}
+Geom::Point
+Point::getValue() const
+{
+ return Geom::Point( getXValue() , getYValue() );
+}
/** Get the value spin_button represented as an integer. */
int