//if(!action->set_param("param",String("color")))
// synfig::error("LayerParamConnect didn't like \"param\"");
if(!action->set_param("new_value",ValueBase(synfigapp::Main::get_foreground_color())))
synfig::error("LayerParamConnect didn't like \"foreground_color\"");
//if(!action->set_param("param",String("color")))
// synfig::error("LayerParamConnect didn't like \"param\"");
if(!action->set_param("new_value",ValueBase(synfigapp::Main::get_foreground_color())))
synfig::error("LayerParamConnect didn't like \"foreground_color\"");