mirror of https://github.com/GNOME/gimp.git
app: GimpEditSelectionTool: activate the tool *after* pushing it
because pushing sets its focus_display which is now only possible while the a tool is not active.
This commit is contained in:
parent
b659aec9a7
commit
9778b6a440
|
@ -441,11 +441,11 @@ gimp_edit_selection_tool_start (GimpTool *parent_tool,
|
|||
edit_select->center_y = (y1 + y2) / 2.0;
|
||||
}
|
||||
|
||||
tool_manager_push_tool (display->gimp, tool);
|
||||
|
||||
gimp_tool_control_activate (tool->control);
|
||||
tool->display = display;
|
||||
|
||||
tool_manager_push_tool (display->gimp, tool);
|
||||
|
||||
/* pause the current selection */
|
||||
gimp_display_shell_selection_pause (shell);
|
||||
|
||||
|
|
Loading…
Reference in New Issue