mirror of https://github.com/GNOME/gimp.git
app: also copy the parent PDB context's stroke options
so a push() will take over the current settings.
This commit is contained in:
parent
f91406e7ca
commit
26d1b93e0c
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue