Commit b770b0c0 authored by Boudewijn Rempt's avatar Boudewijn Rempt

Don't crash if there's no option widget

parent 0e170980
......@@ -495,7 +495,9 @@ KisPaintOpPresetSP KisPaintopBox::activePreset(const KoID& paintOp)
void KisPaintopBox::updateCompositeOp(QString compositeOpID, bool localUpdate)
{
m_optionWidget->blockSignals(true);
if (m_optionWidget) {
m_optionWidget->blockSignals(true);
}
KisNodeSP node = m_resourceProvider->currentNode();
if (node && node->paintDevice()) {
......
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