Commit 11749532 authored by Jehan's avatar Jehan

app: fix layer double click (Layer Attributes dialog).

This got *again* broken because of some obviously impossible code path
(a same variable tested against 2 different values!). Anyway I tested
again and it seems that all possible interactions in the item tree views
are now correctly working though the whole button press code is a very
complicated mess of possible variations and events.
parent 696fb34c
Pipeline #200661 passed with stages
in 32 minutes and 1 second
......@@ -1589,7 +1589,7 @@ gimp_container_tree_view_button (GtkWidget *widget,
gtk_widget_error_bell (widget);
}
}
else if (! toggled_cell && bevent->type == GDK_BUTTON_RELEASE &&
else if (! toggled_cell &&
! (bevent->state & gimp_get_all_modifiers_mask ()))
{
/* Only activate if we're not in a toggled cell
......
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