Code

Re-add deleted preference setting for paint bucket tolerance
authorjohncoswell <johncoswell@users.sourceforge.net>
Wed, 28 Feb 2007 04:53:56 +0000 (04:53 +0000)
committerjohncoswell <johncoswell@users.sourceforge.net>
Wed, 28 Feb 2007 04:53:56 +0000 (04:53 +0000)
src/widgets/toolbox.cpp

index 049c7f8385e066696f33e087c53d3998edba740d..70f70efad94ec7f82b231b11d14cb5b2df5de809 100644 (file)
@@ -4434,6 +4434,7 @@ sp_connector_toolbox_new(SPDesktop *desktop)
 
 static void paintbucket_tolerance_changed(GtkAdjustment *adj, GtkWidget *tbl)
 {
+    prefs_set_int_attribute("tools.paintbucket", "tolerance", (gint)adj->value);
     spinbutton_defocus(GTK_OBJECT(tbl));
 }