app: also copy the parent PDB context's stroke options

so a push() will take over the current settings.
This commit is contained in:
Michael Natterer 2016-01-10 19:01:26 +01:00
parent f91406e7ca
commit 26d1b93e0c
1 changed files with 4 additions and 0 deletions

View File

@ -431,6 +431,10 @@ gimp_pdb_context_new (Gimp *gimp,
GIMP_OBJECT (options));
g_object_unref (options);
}
gimp_config_copy (GIMP_CONFIG (GIMP_PDB_CONTEXT (parent)->stroke_options),
GIMP_CONFIG (context->stroke_options),
0);
}
return GIMP_CONTEXT (context);