Commit af8320ea authored by Simon Budig's avatar Simon Budig Committed by Simon Budig
Browse files

reset the vector tool to Design mode whenever a new vectors object gets

2005-05-12  Simon Budig  <simon@gimp.org>

	* app/tools/gimpvectortool.c: reset the vector tool to Design
	mode whenever a new vectors object gets connected to the tool.
	This time also when you pick a path in Edit mode (Oops).
parent 35b50986
2005-05-12 Simon Budig <simon@gimp.org>
* app/tools/gimpvectortool.c: reset the vector tool to Design
mode whenever a new vectors object gets connected to the tool.
This time also when you pick a path in Edit mode (Oops).
2005-05-12 Sven Neumann <sven@gimp.org>
* app/widgets/gimpdialogfactory.c: refactoring.
......
......@@ -1570,10 +1570,6 @@ gimp_vector_tool_set_vectors (GimpVectorTool *vector_tool,
gimp_vector_tool_stroke_vectors,
tool);
}
if (options->edit_mode != GIMP_VECTOR_MODE_DESIGN)
g_object_set (options, "vectors-edit-mode",
GIMP_VECTOR_MODE_DESIGN, NULL);
}
vector_tool->vectors = vectors;
......@@ -1674,6 +1670,10 @@ gimp_vector_tool_set_vectors (GimpVectorTool *vector_tool,
}
gimp_draw_tool_resume (draw_tool);
if (options->edit_mode != GIMP_VECTOR_MODE_DESIGN)
g_object_set (options, "vectors-edit-mode",
GIMP_VECTOR_MODE_DESIGN, NULL);
}
static void
......
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