app: fall back to BG fill if gimp_get_fill_params() doesn't find a pattern

This commit is contained in:
Michael Natterer 2016-10-09 21:07:08 +02:00
parent be6a47e750
commit ce639f031b
1 changed files with 4 additions and 0 deletions

View File

@ -551,6 +551,10 @@ gimp_get_fill_params (GimpContext *context,
{
g_set_error_literal (error, GIMP_ERROR, GIMP_FAILED,
_("No patterns available for this operation."));
/* fall back to BG fill */
gimp_context_get_background (context, color);
return FALSE;
}
break;