app: also make sure that we run filters-changed when an operation's argument is updated.
While this was already working when updating a filter through the GUI, we could see the weakness in the code when updating through the plug-in API (there, we could again reproduce problematic not-updated bounding box, similar to #12294).
This commit is contained in:
parent
38f0527ebc
commit
5d6e1ec889
1 changed files with 3 additions and 0 deletions
|
|
@ -1805,6 +1805,9 @@ gimp_drawable_filter_add_filter (GimpDrawableFilter *filter)
|
|||
G_CALLBACK (gimp_drawable_filter_reorder),
|
||||
filter, 0);
|
||||
|
||||
g_signal_connect_object (G_OBJECT (filter->operation), "notify",
|
||||
G_CALLBACK (gimp_drawable_filters_changed),
|
||||
filter->drawable, G_CONNECT_SWAPPED);
|
||||
g_signal_connect_object (G_OBJECT (filter), "active-changed",
|
||||
G_CALLBACK (gimp_drawable_filters_changed),
|
||||
filter->drawable, G_CONNECT_SWAPPED);
|
||||
|
|
|
|||
Loading…
Reference in a new issue