diff options
Diffstat (limited to 'src/widgets/stroke-style.cpp')
| -rw-r--r-- | src/widgets/stroke-style.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/widgets/stroke-style.cpp b/src/widgets/stroke-style.cpp index 48f0e3d78..44f9ac714 100644 --- a/src/widgets/stroke-style.cpp +++ b/src/widgets/stroke-style.cpp @@ -877,7 +877,7 @@ StrokeStyle::updateLine() int result_order = sp_desktop_query_style (SP_ACTIVE_DESKTOP, &query, QUERY_STYLE_PROPERTY_PAINTORDER); - SPIPaint &targPaint = (kind == FILL) ? query.fill : query.stroke; + SPIPaint &targPaint = *query.getFillOrStroke(kind == FILL); if (!sel || sel->isEmpty()) { // Nothing selected, grey-out all controls in the stroke-style dialog |
