diff options
| author | Milosz Derezynski <mderezynski@gmail.com> | 2006-05-22 10:39:10 +0000 |
|---|---|---|
| committer | mderezynski <mderezynski@users.sourceforge.net> | 2006-05-22 10:39:10 +0000 |
| commit | 471486220e087aab70cef6eed05dc4186f4a8ac5 (patch) | |
| tree | f0b3939b017179805d75798ee5b04aa080f079a2 /src/widgets/toolbox.cpp | |
| parent | omg i've added myself!!!!!!!!!!! (diff) | |
| download | inkscape-471486220e087aab70cef6eed05dc4186f4a8ac5.tar.gz inkscape-471486220e087aab70cef6eed05dc4186f4a8ac5.zip | |
* Apply style to selection also when applying it to defaults
(bzr r942)
Diffstat (limited to 'src/widgets/toolbox.cpp')
| -rw-r--r-- | src/widgets/toolbox.cpp | 10 |
1 files 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); } |
