From: mderezynski Date: Mon, 22 May 2006 10:39:10 +0000 (+0000) Subject: * Apply style to selection also when applying it to defaults X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=683b2d5c80a47c1cca0839b71370b12f696639a6;p=inkscape.git * Apply style to selection also when applying it to defaults --- diff --git a/src/widgets/toolbox.cpp b/src/widgets/toolbox.cpp index cbccf9294..2d2cd801b 100644 --- a/src/widgets/toolbox.cpp +++ b/src/widgets/toolbox.cpp @@ -3114,11 +3114,8 @@ namespace { { sp_repr_css_change (inkscape_get_repr (INKSCAPE, "tools.text"), css, "style"); } - else - { - sp_desktop_set_style (desktop, css, true, true); - } + sp_desktop_set_style (desktop, css, true, true); sp_document_done (sp_desktop_document (SP_ACTIVE_DESKTOP)); sp_repr_css_attr_unref (css); } @@ -3158,11 +3155,8 @@ namespace { { sp_repr_css_change (inkscape_get_repr (INKSCAPE, "tools.text"), css, "style"); } - else - { - sp_desktop_set_style (desktop, css, true, true); - } + sp_desktop_set_style (desktop, css, true, true); sp_document_done (sp_desktop_document (SP_ACTIVE_DESKTOP)); sp_repr_css_attr_unref (css); }