Code

fix 168320: return NOTHING only if no texts selected, but not when a text has nonexis...
authorbuliabyak <buliabyak@users.sourceforge.net>
Sat, 16 Feb 2008 09:52:34 +0000 (09:52 +0000)
committerbuliabyak <buliabyak@users.sourceforge.net>
Sat, 16 Feb 2008 09:52:34 +0000 (09:52 +0000)
src/desktop-style.cpp

index 619986b572310d96260996694c509fd0f4852e2d..48dc594002c7cf69a9e54ea3f9df57d38610d344 100644 (file)
@@ -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) {