Commit af7db2a1 authored by Sven Neumann's avatar Sven Neumann

quick fix to make Gimp survive its startup

parent 024f2a0f
......@@ -724,7 +724,8 @@ tool_manager_tool_changed (GimpContext *user_context,
}
/* disconnect the old tool's context */
if (tool_manager->active_tool->tool_info->use_context)
if (tool_manager->active_tool &&
tool_manager->active_tool->tool_info->use_context)
{
GimpToolInfo *old_tool_info;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment