mirror of https://github.com/GNOME/gimp.git
app: fix crash in GEGL tool when an operation specific tool was used before
gimp_image_map_tool_initialize(): add the saved settings combo only if we have a config object.
This commit is contained in:
parent
edec6ac8cc
commit
69c897a118
|
@ -368,7 +368,7 @@ gimp_image_map_tool_initialize (GimpTool *tool,
|
|||
G_CALLBACK (gimp_image_map_tool_response),
|
||||
G_OBJECT (image_map_tool), 0);
|
||||
|
||||
if (klass->settings_name)
|
||||
if (image_map_tool->config && klass->settings_name)
|
||||
{
|
||||
GtkWidget *settings_ui;
|
||||
gchar *settings_filename;
|
||||
|
|
Loading…
Reference in New Issue