Commit c91c8bef authored by Boudewijn Rempt's avatar Boudewijn Rempt

Save the enabled state for dropshadow

parent 99d26030
......@@ -104,7 +104,9 @@ void KisDlgLayerStyle::setStyle(KisPSDLayerStyle *style)
KisPSDLayerStyle *KisDlgLayerStyle::style() const
{
m_layerStyle->setDropShadow(m_dropShadow->dropShadow());
psd_layer_effects_drop_shadow ds = m_dropShadow->dropShadow();
ds.effect_enable = (wdgLayerStyles.lstStyleSelector->item(2)->checkState() == Qt::Checked);
m_layerStyle->setDropShadow(ds);
return m_layerStyle;
}
......
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