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:
Michael Natterer 2013-03-09 20:16:24 +01:00
parent edec6ac8cc
commit 69c897a118
1 changed files with 1 additions and 1 deletions

View File

@ -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;