Commit 16c00e70 authored by Sven Langkamp's avatar Sven Langkamp
Browse files

fix hiding of filter preview

parent 12c52032
......@@ -158,6 +158,10 @@ void KisFilterDialog::previewCheckBoxChange(int state)
d->mask->setVisible(state == Qt::Checked);
if (state != Qt::Checked) {
// update node to hide what remains from the filter mask
KConfigGroup group(KGlobal::config(), "filterdialog");
group.writeEntry("showPreview", d->uiFilterDialog.checkBoxPreview->isChecked());
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