Commit 0e4d3193 authored by Michael Natterer's avatar Michael Natterer 😴

app: do stuff in gimp_vector_tool_button_press() more like in other tools

parent 0a1aa7e5
......@@ -243,10 +243,8 @@ gimp_vector_tool_button_press (GimpTool *tool,
{
GimpVectorTool *vector_tool = GIMP_VECTOR_TOOL (tool);
if (display != tool->display)
gimp_vector_tool_halt (vector_tool);
gimp_tool_control_activate (tool->control);
if (tool->display && display != tool->display)
gimp_tool_control (tool, GIMP_TOOL_ACTION_HALT, tool->display);
if (! tool->display)
{
......@@ -260,6 +258,8 @@ gimp_vector_tool_button_press (GimpTool *tool,
{
vector_tool->grab_widget = vector_tool->path;
}
gimp_tool_control_activate (tool->control);
}
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