summaryrefslogtreecommitdiffhomepage
path: root/spline
diff options
context:
space:
mode:
Diffstat (limited to 'spline')
-rw-r--r--spline/spline-widget.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/spline/spline-widget.cpp b/spline/spline-widget.cpp
index fb373c93..1e95aba6 100644
--- a/spline/spline-widget.cpp
+++ b/spline/spline-widget.cpp
@@ -118,6 +118,8 @@ void spline_widget::drawBackground()
double space_width = metrics.averageCharWidth();
#endif
+ painter.setPen(palette().text().color());
+
// vertical grid
for (int i = 0; i <= maxy; i += ystep)
{