Code

fix remaining issues of bug 407893
authorbuliabyak <buliabyak@users.sourceforge.net>
Mon, 17 Aug 2009 18:32:35 +0000 (18:32 +0000)
committerbuliabyak <buliabyak@users.sourceforge.net>
Mon, 17 Aug 2009 18:32:35 +0000 (18:32 +0000)
src/ui/dialog/inkscape-preferences.cpp

index 7275165a7270d04c9ab05d1c3186e871d637825e..ba07597e71819b472ee42a1b8ff5b461249cd63d 100644 (file)
@@ -321,7 +321,7 @@ void StyleFromSelectionToTool(Glib::ustring const &prefs_path, StyleSwatch *swat
     if (!css) return;
 
     // only store text style for the text tool
-    if (prefs_path == "/tools/text") {
+    if (prefs_path != "/tools/text") {
         css = sp_css_attr_unset_text (css);
     }