Commit ef6de07c authored by Dmitry Kazakov's avatar Dmitry Kazakov
Browse files

Do not combine visibility commands for different layers

parent 0b60aaed
......@@ -184,7 +184,7 @@ void KisNodePropertyListCommand::doUpdate(const KisBaseNode::PropertyList &oldPr
void KisNodePropertyListCommand::setNodePropertiesAutoUndo(KisNodeSP node, KisImageSP image, PropertyList proplist)
const bool undo = true;
const bool undo = !changedProperties(node->sectionModelProperties(), proplist).isEmpty();
QScopedPointer<KUndo2Command> cmd(new KisNodePropertyListCommand(node, proplist));
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