Commit da4e2fe3 authored by Inge Wallin's avatar Inge Wallin Committed by Friedrich W. H. Kossebau
Browse files

Fix bug 309109: CWOP: Opening a document sets it to Modified

BUG: 309109
parent 5a71ddb3
......@@ -170,7 +170,12 @@ void StrokeFillWidget::updateWidget(KoShapeStrokeModel *stroke, KoShapeBackgroun
{
m_preview->update(stroke, fill);
updateStyleButtons(activeStyle);
// We don't want the opacity slider to send any signals when it's only initialized.
// Otherwise an undo record is created.
m_opacity->blockSignals (true);
m_opacity->setValue(opacity);
m_opacity->blockSignals (false);
m_actionColor->setCurrentColor(currentColor);
}
......
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