mirror of https://github.com/GNOME/gimp.git
app: don't overwrite all tool options' "tool" and "paint-info"
with bogus values from contextrc, we want them to always match the tool option's type.
This commit is contained in:
parent
67377bb930
commit
94181ce538
|
@ -313,7 +313,9 @@ gimp_tools_restore (Gimp *gimp)
|
|||
gimp_context_copy_properties (gimp_get_user_context (gimp),
|
||||
GIMP_CONTEXT (tool_info->tool_options),
|
||||
GIMP_CONTEXT_ALL_PROPS_MASK &~
|
||||
tool_info->context_props);
|
||||
(tool_info->context_props |
|
||||
GIMP_CONTEXT_TOOL_MASK |
|
||||
GIMP_CONTEXT_PAINT_INFO_MASK));
|
||||
|
||||
gimp_tool_options_deserialize (tool_info->tool_options, NULL);
|
||||
|
||||
|
|
Loading…
Reference in New Issue