From: buliabyak Date: Sat, 16 Feb 2008 09:52:34 +0000 (+0000) Subject: fix 168320: return NOTHING only if no texts selected, but not when a text has nonexis... X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=e4e2594672cff8fbce7f6b19f50db9c9fcba33f4;p=inkscape.git fix 168320: return NOTHING only if no texts selected, but not when a text has nonexistent font --- diff --git a/src/desktop-style.cpp b/src/desktop-style.cpp index 619986b57..48dc59400 100644 --- a/src/desktop-style.cpp +++ b/src/desktop-style.cpp @@ -1096,7 +1096,7 @@ objects_query_fontspecification (GSList *objects, SPStyle *style_res) } } - if (texts == 0 || !style_res->text->font_specification.set) + if (texts == 0) return QUERY_STYLE_NOTHING; if (texts > 1) {