Commit 3af6ef5c authored by Wolthera van Hövell's avatar Wolthera van Hövell 🛍

BUG:410374 ensure filter mask button is disabled appropriately.

This one is in the category: how did this not break sooner, but alas.
parent 7b35b303
...@@ -226,6 +226,7 @@ void KisDlgFilter::filterSelectionChanged() ...@@ -226,6 +226,7 @@ void KisDlgFilter::filterSelectionChanged()
{ {
KisFilterSP filter = d->uiFilterDialog.filterSelection->currentFilter(); KisFilterSP filter = d->uiFilterDialog.filterSelection->currentFilter();
setDialogTitle(filter); setDialogTitle(filter);
d->currentFilter = filter;
d->uiFilterDialog.pushButtonCreateMaskEffect->setEnabled(filter.isNull() ? false : filter->supportsAdjustmentLayers()); d->uiFilterDialog.pushButtonCreateMaskEffect->setEnabled(filter.isNull() ? false : filter->supportsAdjustmentLayers());
updatePreview(); updatePreview();
} }
......
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