From 683b2d5c80a47c1cca0839b71370b12f696639a6 Mon Sep 17 00:00:00 2001 From: mderezynski Date: Mon, 22 May 2006 10:39:10 +0000 Subject: [PATCH] * Apply style to selection also when applying it to defaults --- src/widgets/toolbox.cpp | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) 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); } -- 2.30.2