From 19de1008cf114460bf3286f85759a7bc469ea092 Mon Sep 17 00:00:00 2001 From: buliabyak Date: Mon, 10 Sep 2007 20:45:38 +0000 Subject: [PATCH] add missed paint type assignment, fixes crash with no fill/no stroke on selected object --- src/desktop-style.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/desktop-style.cpp b/src/desktop-style.cpp index a68c99d65..b1dca7f17 100644 --- a/src/desktop-style.cpp +++ b/src/desktop-style.cpp @@ -515,7 +515,9 @@ objects_query_fillstroke (GSList *objects, SPStyle *style_res, bool const isfill num ++; } - paintImpossible = false; + paintImpossible = false; + paint_res->colorSet = paint->colorSet; + paint_res->currentcolor = paint->currentcolor; if (paint_res->set && paint_effectively_set && paint->isPaintserver()) { // copy the server if (isfill) { sp_style_set_to_uri_string (style_res, true, style->getFillURI()); -- 2.30.2