summaryrefslogtreecommitdiffstats
path: root/src/widgets/toolbox.cpp
diff options
context:
space:
mode:
authorMilosz Derezynski <mderezynski@gmail.com>2006-05-22 10:39:10 +0000
committermderezynski <mderezynski@users.sourceforge.net>2006-05-22 10:39:10 +0000
commit471486220e087aab70cef6eed05dc4186f4a8ac5 (patch)
treef0b3939b017179805d75798ee5b04aa080f079a2 /src/widgets/toolbox.cpp
parentomg i've added myself!!!!!!!!!!! (diff)
downloadinkscape-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.cpp10
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);
}