diff options
Diffstat (limited to 'src/ui/widget/point.cpp')
| -rw-r--r-- | src/ui/widget/point.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/ui/widget/point.cpp b/src/ui/widget/point.cpp index 1efb26a78..508a8d961 100644 --- a/src/ui/widget/point.cpp +++ b/src/ui/widget/point.cpp @@ -194,10 +194,10 @@ Point::setRange(double min, double max) /** Sets the value of the spin button */ void -Point::setValue(double xvalue, double yvalue) +Point::setValue(Geom::Point & p) { - xwidget.setValue(xvalue); - ywidget.setValue(yvalue); + xwidget.setValue(p[0]); + ywidget.setValue(p[1]); } /** Manually forces an update of the spin button */ |
