Commit a3a4a7bf authored by Boudewijn Rempt's avatar Boudewijn Rempt

Set the document to modified if any layer properties change

We don't want to have layer visibility changes end up in the undo
stack, but do want the document to be marked as modified.

BUG:389876
parent d740723b
......@@ -187,9 +187,10 @@ void KisNodePropertyListCommand::setNodePropertiesNoUndo(KisNodeSP node, KisImag
QScopedPointer<KUndo2Command> cmd(new KisNodePropertyListCommand(node, proplist));
image->setModified();
if (undo.contains(true)) {
image->undoAdapter()->addCommand(cmd.take());
image->setModified();
}
else {
/**
......
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