summaryrefslogtreecommitdiffhomepage
path: root/spline/spline-widget.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'spline/spline-widget.cpp')
-rw-r--r--spline/spline-widget.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/spline/spline-widget.cpp b/spline/spline-widget.cpp
index 44576342..7b417c18 100644
--- a/spline/spline-widget.cpp
+++ b/spline/spline-widget.cpp
@@ -79,13 +79,13 @@ QColor spline_widget::colorBezier() const
void spline_widget::setColorBezier(QColor color)
{
spline_color = color;
- update();
+ repaint();
}
void spline_widget::force_redraw()
{
_background = QPixmap();
- update();
+ repaint();
}
void spline_widget::set_preview_only(bool val)