Commit 1e31a73a authored by Halla Rempt's avatar Halla Rempt
Browse files

Filterop: handle the case when the current filter isn't set

BUG: 290963
parent c9d428a5
......@@ -170,6 +170,8 @@ void KisFilterOption::updateFilterConfigWidget()
void KisFilterOption::writeOptionSetting(KisPropertiesConfiguration* setting) const
{
if (!m_currentFilter) return;
setting->setProperty(FILTER_ID, m_currentFilter->id());
setting->setProperty(FILTER_IGNORE_ALPHA, ignoreAlpha());
if(filterConfig()) {
......
Supports Markdown
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